Uid
- class app.portfolio.util.uid.Uid[source]
Bases:
object
Uid(namespace: str = ‘DEFAULT’, id: collections.abc.Hashable = <factory>)
Inheritance Diagram for Uid
Methods
__init__
([namespace, id])as_tuple
()from_string
(value)from_value
(value)Attributes
Returns the ID as a string, suitable for display.
- property record: EntityRecord
- property record_or_none: EntityRecord | None