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 Command(BaseEntity): (source)
Represent a console command and its metadata.
| Parameters | |
| obj | Type or class associated with the command. |
| method | Method name to invoke on the object. Defaults to 'handle'. |
| timestamps | Enable timestamps for this command. Defaults to True. |
| signature | Command usage signature. |
| description | Brief description of the command. |
| args | Declarative argument list while the command is being defined, and the parser built from it once the loader materializes the command. Defaults to None. |
| Returns | |
Command | Instance containing metadata and configuration for a console command. |
| Class Variable | args |
Undocumented |
| Class Variable | description |
Undocumented |
| Class Variable | method |
Undocumented |
| Class Variable | obj |
Undocumented |
| Class Variable | signature |
Undocumented |
| Class Variable | timestamps |
Undocumented |
Inherited from BaseEntity:
| Class Method | _cached |
Retrieve field definitions and normalized types cached by class. |
| Method | __post |
Provide a no-op initialization hook for subclass validation. |
| Method | get |
Describe field names, normalized types, defaults, and metadata. |
| Method | to |
Convert the dataclass instance to a recursively copied dictionary. |
| Class Variable | __slots__ |
Undocumented |