Skip to content

Commit 154727a

Browse files
committed
Make import of sfx explicit
1 parent c612c5a commit 154727a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

linkml_runtime/utils/schemaview.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
from linkml_runtime.utils.namespaces import Namespaces
1616
from deprecated.classic import deprecated
1717
from linkml_runtime.utils.context_utils import parse_import_map, map_import
18-
from linkml_runtime.utils.formatutils import is_empty, underscore, camelcase
18+
from linkml_runtime.utils.formatutils import camelcase, is_empty, sfx, underscore
1919
from linkml_runtime.utils.pattern import PatternResolver
2020
from linkml_runtime.linkml_model.meta import *
2121
from linkml_runtime.exceptions import OrderingError

tests/test_utils/test_schemaview.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -488,6 +488,7 @@ def test_imports(view):
488488
height = view.get_slot('height_in_m')
489489
assert height.unit.ucum_code == "m"
490490

491+
491492
def test_imports_from_schemaview(view):
492493
"""view should by default dynamically include imports chain"""
493494
view2 = SchemaView(view.schema)

0 commit comments

Comments
 (0)