orangeqs.juice.task_manager._schemas#
Module Contents#
Classes#
Model for a task event from client. |
|
Model for a IPython service state event. |
API#
- class orangeqs.juice.task_manager._schemas.TaskEvent(/, **data: Any)#
Bases:
orangeqs.juice.messaging.EventModel for a task event from client.
Model that represents a task event sent from a client to the task manager. This model is used to write the task to the database. And also publish it to subscribers.
- task_metadata: str#
None
Metadata associated with the task.
This field contains a JSON-serialized string representing the metadata dictionary for the task.
- task_payload: str#
None
The payload of the task.
This field contains a JSON-serialized string representing the payload dictionary for the task.
- class orangeqs.juice.task_manager._schemas.IPythonServiceState(/, **data: Any)#
Bases:
orangeqs.juice.messaging.EventModel for a IPython service state event.
Model that represents the state of a service. This model is used to write the service state to the database and also publish it to subscribers.