Skip to content

Commit f39053f

Browse files
committed
Fix format
1 parent 103e859 commit f39053f

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

infrahub_sdk/schema/main.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -319,6 +319,7 @@ class SchemaRoot(BaseModel):
319319
def to_schema_dict(self) -> dict[str, Any]:
320320
return self.model_dump(exclude_unset=True, exclude_defaults=True)
321321

322+
322323
class SchemaRootAPI(BaseModel):
323324
version: str
324325
generics: list[GenericSchemaAPI] = Field(default_factory=list)

tests/integration/test_node.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
import pytest
22

33
from infrahub_sdk import InfrahubClient
4+
from infrahub_sdk.exceptions import NodeNotFoundError
45
from infrahub_sdk.node import InfrahubNode
5-
from infrahub_sdk.schema import NodeSchema, SchemaRoot, NodeSchemaAPI
6+
from infrahub_sdk.schema import NodeSchema, NodeSchemaAPI, SchemaRoot
67
from infrahub_sdk.testing.docker import TestInfrahubDockerClient
78
from infrahub_sdk.testing.schemas.car_person import TESTING_MANUFACTURER, SchemaCarPerson
8-
from infrahub_sdk.exceptions import NodeNotFoundError
9+
910
# pylint: disable=unused-argument
1011

1112

0 commit comments

Comments
 (0)