THE ORIONIS API
Build with clarity.
Explore the building blocks of an async-first Python framework. Every module, class, and method — connected, searchable, and ready to build with.
class documentation
class Identity(BaseEntity): (source)
Represent how the application identity is located and verified.
The framework never imports the identity class directly: it receives a dotted path and resolves it lazily, so any model may play the role of the authenticatable identity.
| Method | __post |
Validate the identity configuration after initialization. |
| Instance Variable | model |
Dotted path of the model backing the authenticated identity. |
| Instance Variable | username |
Attribute holding the public credential used to look an identity up, such as the email address. |
Inherited from BaseEntity:
| Class Method | _cached |
Retrieve field definitions and normalized types cached by class. |
| Method | get |
Describe field names, normalized types, defaults, and metadata. |
| Method | to |
Convert the dataclass instance to a recursively copied dictionary. |
| Class Variable | __slots__ |
Undocumented |
Validate the identity configuration after initialization.
| Returns | |
None | This method validates the instance attributes in place. |
| Raises | |
TypeError | If any option is not a string. |
ValueError | If the model path does not look like a dotted class path. |