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 MakeFactory(MakeStubCommand): (source)
Generate an explicitly imported factory for an application model.
| Method | create |
Create a factory using the configured model and factory directories. |
| Class Variable | __slots__ |
Undocumented |
| Class Variable | arguments |
Undocumented |
| Class Variable | description |
Undocumented |
| Class Variable | path |
Undocumented |
| Class Variable | postfix |
Undocumented |
| Class Variable | signature |
Undocumented |
| Class Variable | success |
Undocumented |
| Class Variable | template |
Undocumented |
| Class Variable | timestamps |
Undocumented |
Inherited from MakeStubCommand:
| Method | create |
Render one stub into its configured application directory. |
| Method | get |
Read string replacements from the parsed command arguments. |
| Method | get |
Return the selected template name. |
| Async Method | handle |
Create configured files without blocking the running event loop. |
| Class Variable | prefix |
Undocumented |
| Class Variable | replacement |
Undocumented |
Create a factory using the configured model and factory directories.
| Parameters | |
app:IApplication | Application that resolves the destination and model paths. |
name:str | Factory class or file name, with optional nested directories. |
| Returns | |
tuple[tuple[str, str], ...] | Success label and the generated application-relative path. |
| Raises | |
TypeError | If the model directory is not configured as a path. |
ValueError | If the names or model package cannot form valid Python imports. |