diff --git a/packages/document-issue/src/document_issue/document.py b/packages/document-issue/src/document_issue/document.py index b55e07e..732cd6b 100644 --- a/packages/document-issue/src/document_issue/document.py +++ b/packages/document-issue/src/document_issue/document.py @@ -61,8 +61,8 @@ def check_include_author_and_checked_by(self) -> "FormatConfiguration": Note = Annotated[ str, - Len(max_length=1000), - WithJsonSchema({"type": "string", "maxLength": 1000, "layout": {"width": "100%"}}), + Len(max_length=1e8), + WithJsonSchema({"type": "string", "maxLength": 1e8, "layout": {"width": "100%"}}), ] # ^ json_schema_extra not added to schema diff --git a/packages/document-issue/src/document_issue/issue.py b/packages/document-issue/src/document_issue/issue.py index a100140..e99d7f6 100644 --- a/packages/document-issue/src/document_issue/issue.py +++ b/packages/document-issue/src/document_issue/issue.py @@ -7,10 +7,14 @@ description_author = """ -the person who authored the work.""".replace("\n", "") +the person who authored the work.""".replace( + "\n", "" +) description_checked_by = """ the person who checked the work. -""".replace("\n", "") +""".replace( + "\n", "" +) # TODO: who issued to? @@ -61,7 +65,7 @@ class Issue(BaseModel): "free field where the Engineer can briefly summarise changes since previous" " issue" ), - max_length=1000, + max_length=1e8, json_schema_extra=dict(column_width=300), )