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.

module documentation

Undocumented

Function copy_attributes Validate and detach attributes from caller-owned mutable data.
Constant _ATOMIC_TYPES Undocumented
def copy_attributes(value: object, source: str) -> dict[str, Any]: (source)

Validate and detach attributes from caller-owned mutable data.

Parameters
value:objectCandidate dictionary of model attributes.
source:strOrigin used in validation errors.
Returns
dict of str to AnyIndependent attributes, including nested containers.
Raises
FactoryDefinitionExceptionIf the value is not a dictionary with string keys.
_ATOMIC_TYPES = (source)

Undocumented

Value
frozenset(set([NoneType, bool, bytes, complex, float, int, str]))