File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff 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+
322323class SchemaRootAPI (BaseModel ):
323324 version : str
324325 generics : list [GenericSchemaAPI ] = Field (default_factory = list )
Original file line number Diff line number Diff line change 11import pytest
22
33from infrahub_sdk import InfrahubClient
4+ from infrahub_sdk .exceptions import NodeNotFoundError
45from infrahub_sdk .node import InfrahubNode
5- from infrahub_sdk .schema import NodeSchema , SchemaRoot , NodeSchemaAPI
6+ from infrahub_sdk .schema import NodeSchema , NodeSchemaAPI , SchemaRoot
67from infrahub_sdk .testing .docker import TestInfrahubDockerClient
78from 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
You can’t perform that action at this time.
0 commit comments