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

Generate fake values while tracking and rejecting duplicates.

Method __getitem__ Select the configured locale without exposing a native proxy.
Method clear Clear values tracked by this backend's unique view.
Method excludeTypes Exclude selected result types from uniqueness checks.
Class Variable __slots__ Declare that this class introduces no additional instance slots.

Inherited from _ProviderView:

Method __dir__ List camelCase provider methods available for the selected locale.
Method __getattr__ Return a bound camelCase provider method.
Method __init__ Bind a normal, unique, or optional provider view.
Instance Variable _backend Backend object dispatching this view's calls.
Instance Variable _cache Cache policy or cached state used by this component.
Instance Variable _revision Revision obtained from state.revision.
Instance Variable _state Names and revision shared by views of the same generator.
def __getitem__(self, locale: str) -> UniqueFake: (source)

Select the configured locale without exposing a native proxy.

Parameters
locale:strLocale already configured on the backend.
Returns
orionis.orm.factories.UniqueFakeLocale-specific uniqueness view.
def clear(self): (source)

Clear values tracked by this backend's unique view.

Returns
NoneNo return value.
def excludeTypes(self, types: list[type]) -> UniqueFake: (source)

Exclude selected result types from uniqueness checks.

Parameters
types:list of typeResult types for which repeated values are allowed.
Returns
orionis.orm.factories.UniqueFakeView initially sharing the backend's uniqueness history. Clearing a view starts an independent history for that view, matching Faker.
__slots__: tuple = (source)

Declare that this class introduces no additional instance slots.