ocrd_network.models.messages module¶
- class ocrd_network.models.messages.PYResultMessage(*, job_id: str, state: JobState = JobState.unset, path_to_mets: str | None = None, workspace_id: str | None = None)[source]¶
Bases:
BaseModel
Wraps the parameters required to make a result message request
Create a new model by parsing and validating input data from keyword arguments.
Raises ValidationError if the input data cannot be parsed to form a valid model.
- job_id: str¶
- path_to_mets: str | None¶
- workspace_id: str | None¶