Skip to content

Commit dd19ad8

Browse files
committed
Move ServerAASFromJsonDecoder import to module level in provider.py
1 parent 56798a2 commit dd19ad8

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

server/app/model/provider.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
from basyx.aas import model
66
from basyx.aas.model import provider as sdk_provider
77

8+
from app.adapter import ServerAASFromJsonDecoder
89
from app.model import descriptor
910

1011
PathOrIO = Union[Path, IO]
@@ -58,8 +59,6 @@ def load_directory(directory: Union[Path, str]) -> DictDescriptorStore:
5859
:param directory: Path to the directory containing JSON descriptor files
5960
:return: Populated :class:`DictDescriptorStore`
6061
"""
61-
from app.adapter import ServerAASFromJsonDecoder
62-
6362
store = DictDescriptorStore()
6463
directory = Path(directory)
6564

0 commit comments

Comments
 (0)