Commit 5da38606 authored by Élodie Thiéblin's avatar Élodie Thiéblin
Browse files

fix: small error printing fixes on multiheritage

parent b0b3cb1f58f0
......@@ -127,11 +127,12 @@
if superior_class_fragment is not None:
superior_classes.append(superior_class_fragment)
if superior_classes:
print(
f"Warning: multi heritage is not support yet. {class_fragment} will speizialize ",
f"{superior_classes[0]} and {superior_classes[1::]} ",
"specialization will be ignored",
)
if len(superior_classes) > 1:
print(
f"Warning: multi-heritage is not support yet. {class_fragment} will specialize ",
f"{superior_classes[0]} and {', '.join(superior_classes[1::])} ",
"specialization will be ignored",
)
entity_schema._specialized_type = superior_classes[0]
# 2. fetch all datatype properties
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment