ORIONIS API REFERENCE

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

Represent the configuration entity for the bcrypt hashing driver.

Method __post_init__ Validate the bcrypt cost factor after initialization.
Instance Variable rounds Cost factor (base-2 logarithm of the iteration count).

Inherited from BaseEntity:

Class Method _cachedFieldMetadata Retrieve field definitions and normalized types cached by class.
Method getFields Describe field names, normalized types, defaults, and metadata.
Method toDict Convert the dataclass instance to a recursively copied dictionary.
Class Variable __slots__ Undocumented
def __post_init__(self): (source)

Validate the bcrypt cost factor after initialization.

Returns
NoneThis method validates the instance attributes in place.
Raises
TypeErrorIf rounds is not an integer.
ValueErrorIf rounds falls outside the range supported by bcrypt.

Cost factor (base-2 logarithm of the iteration count).