There was an error while loading. Please reload this page.
1 parent 4cf5c73 commit cb4e025Copy full SHA for cb4e025
2 files changed
dsms/knowledge/kitem.py
@@ -883,7 +883,7 @@ def populate_schema(
883
the k-type has no v2 spec.
884
RuntimeError: If the schema cannot be fetched or the transform fails.
885
"""
886
- from dsms.knowledge.semantics import schema_to_oold
+ from dsms.knowledge.semantics import schema_to_webform
887
888
ktype_v2 = self.dsms.get_ktype(str(self.ktype_id))
889
if not ktype_v2 or not ktype_v2.spec:
@@ -905,7 +905,7 @@ def populate_schema(
905
f"'{self.ktype_id}'. Available schema IDs: {valid}"
906
)
907
908
- oold_doc = schema_to_oold(schema_ref.url, input_data)
+ oold_doc = schema_to_webform(schema_ref.url, input_data)
909
910
new_entry = KItemSchemaData(schema_id=schema_id, content=oold_doc)
911
0 commit comments