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)
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. |
Remove Jinja bytecode cache files while preserving the cache directory.
| Parameters | |
app:orionis.IApplication | Application providing view cache configuration and base path. |
console:orionis.console.Console | Console used to report the cleanup result. |
| Returns | |
int | Zero when every cache file is removed; one when removal fails. |