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 MakeHttpController(MakeStubCommand): (source)

View In Hierarchy

Generate an invokable or resource HTTP controller.

Method getControllerMethods Build documented asynchronous controller action declarations.
Method getReplacements Return the imports and action declarations for the controller.
Class Variable arguments Command-line argument declarations accepted by this command.
Class Variable description Creates an invokable or resource HTTP controller..
Class Variable path_key app_http_controllers.
Class Variable postfix Controller.
Class Variable signature make:http-controller.
Class Variable success_label HTTP controller.
Class Variable template_name http_controller.
Class Variable timestamps Timestamps flag used by MakeHttpController.

Inherited from MakeStubCommand:

Method createFile Render one stub into its configured application directory.
Method createFiles Create the files produced by this command.
Method getTemplateName Return the selected template name.
Async Method handle Create configured files without blocking the running event loop.
Class Variable prefix Prefix applied when constructing names or storage keys.
Class Variable replacement_arguments Command arguments forwarded to template placeholder replacement.
def getControllerMethods(self) -> str: (source)

Build documented asynchronous controller action declarations.

Returns
strResource actions or a single invokable action with the selected response type.
def getReplacements(self) -> dict[str, str]: (source)

Return the imports and action declarations for the controller.

Returns
dict[str, str]Template placeholders for response types and controller actions.
arguments: ClassVar[list[Argument]] = (source)

Command-line argument declarations accepted by this command.

description: str = (source)

Creates an invokable or resource HTTP controller..

signature: str = (source)

make:http-controller.

timestamps: bool = (source)

Timestamps flag used by MakeHttpController.