Source code for ocrd_network.models.ocrd_tool
from pydantic import BaseModel
from typing import List, Optional
[docs]
class PYOcrdTool(BaseModel):
executable: str
categories: List[str]
description: str
input_file_grp: List[str]
output_file_grp: Optional[List[str]]
steps: List[str]
parameters: Optional[dict] = None