Changeset 3989f0b in flexoentity


Ignore:
Timestamp:
01/15/26 17:03:44 (32 hours ago)
Author:
Enrico Schwass <ennoausberlin@…>
Branches:
master
Parents:
a17e4f6
Message:

Fix string repr to show subtype first

File:
1 edited

Legend:

Unmodified
Added
Removed
  • flexoentity/flexo_entity.py

    ra17e4f6 r3989f0b  
    248248    def __str__(self):
    249249        return (
    250             f"{self.entity_type.name}({self.flexo_id}, {self.state.name}, "
     250            f"{self.subtype}-{self.entity_type.name}({self.flexo_id}, {self.state.name}, "
    251251            f"fingerprint={self.fingerprint}..., v{self.version})"
    252252        )
     
    306306        obj._deserialize_content(data.get("content", {}))
    307307        return obj
     308
    308309    def fork(
    309310        self,
Note: See TracChangeset for help on using the changeset viewer.