Changeset a26d447 in flexoentity
- Timestamp:
- 11/26/25 20:29:58 (7 weeks ago)
- Branches:
- master
- Children:
- 0fbb01a
- Parents:
- ed4567c
- File:
-
- 1 edited
-
flexoentity/flexo_entity.py (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
flexoentity/flexo_entity.py
red4567c ra26d447 157 157 """ 158 158 _in_factory: bool = field(default=False, repr=False) 159 subtype: str = " GENERIC"159 subtype: str = "" 160 160 flexo_id: Optional[FlexOID] = field(default=None) 161 161 fingerprint: str = field(default_factory=str) … … 251 251 self.fingerprint = self._compute_fingerprint() 252 252 253 if not self.subtype: 254 self.subtype = self.__class__.__name__ 255 253 256 def __str__(self): 254 257 return ( … … 261 264 return { 262 265 "flexo_id": str(self.flexo_id), 266 "subtype": self.subtype, 263 267 "fingerprint": self.fingerprint, 264 268 "origin": self.origin, … … 279 283 280 284 flexo_id = FlexOID(data["flexo_id"]) 281 285 subtype = data["subtype"] 282 286 # canonical domain object 283 287 284 288 obj = cls( 285 289 flexo_id=flexo_id, 290 subtype=subtype, 286 291 _in_factory=True 287 292 )
Note:
See TracChangeset
for help on using the changeset viewer.
