Skip to content

Commit 0752c92

Browse files
Fix bug in prop conversion (#409)
1 parent 2a3c8cc commit 0752c92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

terminusdb_client/schema/schema.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -794,7 +794,7 @@ def convert_property(prop_name, prop):
794794
return self.object[enum_name]._to_dict()
795795
# it's a List
796796
elif prop["type"] == "array":
797-
prop_type = convert_property(prop["items"])
797+
prop_type = convert_property(prop_name, prop["items"])
798798
return {"@type": "List", "@class": prop_type}
799799
elif isinstance(prop["type"], list):
800800
prop_type = prop["type"]

0 commit comments

Comments
 (0)