Changeset 9a50e0b in flexoentity


Ignore:
Timestamp:
11/27/25 11:09:36 (7 weeks ago)
Author:
Enrico Schwass <ennoausberlin@…>
Branches:
master
Children:
ef964d8
Parents:
e458b5a
Message:

fix from_dict meta to reflect new serialization

File:
1 edited

Legend:

Unmodified
Added
Removed
  • flexoentity/flexo_entity.py

    re458b5a r9a50e0b  
    276276        - ALWAYS restores the canonical Domain via DomainManager.
    277277        """
    278         if "flexo_id" not in data:
     278        if "flexo_id" not in data["meta"]:
    279279            raise ValueError("Serialized entity must include 'flexo_id'.")
    280280
    281         flexo_id = FlexOID(data["flexo_id"])
     281        flexo_id = FlexOID(data["meta"]["flexo_id"])
    282282        subtype = data["subtype"]
    283283        # canonical domain object
Note: See TracChangeset for help on using the changeset viewer.