We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ca0a8c commit 36158c8Copy full SHA for 36158c8
infrahub_sdk/schema/__init__.py
@@ -74,8 +74,8 @@
74
"SchemaModel",
75
"SchemaRoot",
76
"SchemaRootAPI",
77
- "from_pydantic",
78
"TemplateSchemaAPI",
+ "from_pydantic",
79
]
80
81
tests/unit/sdk/test_pydantic.py
@@ -35,7 +35,7 @@ class MyAllInOneModel(BaseModel):
35
is_active: bool
36
opt_age: int | None = None
37
default_name: str = "some_default"
38
- old_opt_age: Optional[int] = None # noqa: UP007
+ old_opt_age: Optional[int] = None
39
40
41
class AcmeTag(BaseModel):
0 commit comments