Source code for ocrd_network.models.workflow
from beanie import Document
[docs]
class DBWorkflowScript(Document):
""" Model to store a workflow-script in the database
"""
workflow_id: str
content: str
content_hash: str
from beanie import Document
[docs]
class DBWorkflowScript(Document):
""" Model to store a workflow-script in the database
"""
workflow_id: str
content: str
content_hash: str