Commit 4ba713be authored by Fabien Amarger's avatar Fabien Amarger
Browse files

fix(multi heritage): Handle multi heritage using string join

This needs open-source/logilab-common!46
before publish
parent 4c11274826c9
Pipeline #96372 passed with stages
in 53 seconds
......@@ -178,13 +178,7 @@
if superior_class_fragment is not None:
if superior_classes:
if len(superior_classes) > 1:
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]
entity_schema._specialized_type = ", ".join(superior_classes)
# 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