Skip to content

Commit 009ac9d

Browse files
committed
chore: minor typing fixes
1 parent f4b20fa commit 009ac9d

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

scim2_models/base.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ def validate_attribute_urn(
9898
else None
9999
)
100100

101+
schema: Optional[Any]
101102
schema, attribute_base = extract_schema_and_attribute_base(attribute_name)
102103
if not schema:
103104
schema = default_schema

scim2_models/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
from pydantic.alias_generators import to_snake
66

77
try:
8-
from types import UnionType
8+
from types import UnionType # type: ignore
99

1010
UNION_TYPES = [Union, UnionType]
1111
except ImportError:

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)