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

class __IsValidPath: (source)

View In Hierarchy

Validate logging paths without storing per-call state.

Method __call__ Validate that the value is a non-empty string representing a file path.
Class Variable __slots__ Undocumented
def __call__(self, value: str, *, suffix: bool = False): (source)

Validate that the value is a non-empty string representing a file path.

Parameters
value:strThe value to validate as a file path.
suffix:bool, optionalWhether to require the path to contain '{suffix}'. Default is False.
Returns
NoneAccept valid log paths without changing their representation.
Raises
ValueError, TypeErrorIf the value is not a non-empty string or does not meet path requirements.
__slots__: tuple = (source)

Undocumented