common.commands¶
The Command and Associated Response that are sent over the command pipe between the frontend and backend
- class common.commands.Command(command: common.enums.Commands, *args, **kwargs)¶
The command that should be sent to the backend over the command pipe. This contains the specific command and associated kwargs
- __init__(command: common.enums.Commands, *args, **kwargs)¶
Initialize self. See help(type(self)) for accurate signature.
- class common.commands.CommandResponse(status: common.enums.CommandResponses, *args, error=None, traceback=None, **kwargs)¶
The Response the backend gives over the command pipe. Contains a the status, kwargs, and the possible error and traceback
- __init__(status: common.enums.CommandResponses, *args, error=None, traceback=None, **kwargs)¶
Initialize self. See help(type(self)) for accurate signature.
- class common.commands.AsyncCommand(command: common.enums.AsyncCommands, *args, **kwargs)¶
An Aync Commands
- __init__(command: common.enums.AsyncCommands, *args, **kwargs)¶
Initialize self. See help(type(self)) for accurate signature.
- class common.commands.AsyncCommandResponse(id, status: common.enums.CommandResponses, *args, error=None, traceback=None, **kwargs)¶
Response for Async Command -> not required! id links it to the AsyncCommand that generated it
- __init__(id, status: common.enums.CommandResponses, *args, error=None, traceback=None, **kwargs)¶
Initialize self. See help(type(self)) for accurate signature.