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 Lifespan(StrEnum): (source)

View In Hierarchy

Define the possible lifespan events for the application.

Constant SHUTDOWN Indicates the shutdown event of the application.
Constant STARTUP Indicates the startup event of the application.
SHUTDOWN: str = (source)

Indicates the shutdown event of the application.

Value
'lifespan.shutdown'

Indicates the startup event of the application.

Value
'lifespan.startup'