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 SessionMigrateCommand(BaseCommand): (source)

View In Hierarchy

Create the configured framework session table without removing data.

Async Method handle Create session storage from the framework's internal definition.
Class Variable __slots__ Declare that this class introduces no additional instance slots.
Class Variable description Create the configured database session table..
Class Variable signature session:migrate.
Class Variable timestamps Timestamps flag used by SessionMigrateCommand.
async def handle(self, app: IApplication, manager: IConnectionManager) -> int: (source)

Create session storage from the framework's internal definition.

Parameters
app:orionis.IApplicationApplication exposing the session table and SQL connection settings.
manager:orionis.database.contracts.IConnectionManagerManager resolving the configured SQL connection.
Returns
intZero on success or one for connection or schema creation errors.
__slots__: tuple = (source)

Declare that this class introduces no additional instance slots.

description: str = (source)

Create the configured database session table..

signature: str = (source)

session:migrate.

timestamps: bool = (source)

Timestamps flag used by SessionMigrateCommand.