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.
package documentation
Undocumented
| Module | authenticatable |
Undocumented |
| Module | authorizable |
Undocumented |
| Module | functions |
No module docstring; 0/2 constant, 1/1 function documented |
| Module | must |
Undocumented |
From __init__.py:
| Class | |
Turn any Orionis model into an authenticatable identity. |
| Class | |
Let any Orionis model own permissions and roles. |
| Class | |
Require identities to verify their email address before activation. |
| Function | model |
Return the primary key attribute of a model instance. |
Return the primary key attribute of a model instance.
The lookup is duck typed on purpose: the authentication module must never import the ORM model class, so it only reads the metadata the ORM metaclass already publishes.
| Parameters | |
instance:object | Object expected to expose __meta__.primary_key. |
| Returns | |
str | Name of the primary key attribute, falling back to "id" for objects without ORM metadata. |