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 Bcrypt(BaseEntity): (source)
Represent the configuration entity for the bcrypt hashing driver.
| Method | __post |
Validate the bcrypt cost factor after initialization. |
| Instance Variable | rounds |
Cost factor (base-2 logarithm of the iteration count). |
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 bcrypt cost factor after initialization.
| Returns | |
None | This method validates the instance attributes in place. |
| Raises | |
TypeError | If rounds is not an integer. |
ValueError | If rounds falls outside the range supported by bcrypt. |