ocrd_network.models.ocrd_tool module

class ocrd_network.models.ocrd_tool.PYOcrdTool(*, executable: str, categories: List[str], description: str, input_file_grp: List[str], output_file_grp: List[str] | None = None, steps: List[str], parameters: dict | None = None)[source]

Bases: BaseModel

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.

executable: str
categories: List[str]
description: str
input_file_grp: List[str]
output_file_grp: List[str] | None
steps: List[str]
parameters: dict | None