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

View In Hierarchy

Remove compiled template bytecode from the configured view cache.

Method handle Remove Jinja bytecode cache files while preserving the cache directory.
Class Variable description Clear compiled view templates..
Class Variable signature clear:views.
Class Variable timestamps Timestamps flag used by ClearViewsCommand.
def handle(self, app: IApplication, console: Console) -> int: (source)

Remove Jinja bytecode cache files while preserving the cache directory.

Parameters
app:orionis.IApplicationApplication providing view cache configuration and base path.
console:orionis.console.ConsoleConsole used to report the cleanup result.
Returns
intZero when every cache file is removed; one when removal fails.
description: str = (source)

Clear compiled view templates..

signature: str = (source)

clear:views.

timestamps: bool = (source)

Timestamps flag used by ClearViewsCommand.