From 0e31c0aebe24b0b723d3033d8030051cc705e2bb Mon Sep 17 00:00:00 2001 From: tbsch Date: Wed, 22 May 2024 13:18:15 +0200 Subject: [PATCH] Add custom_fields attribute to DocumentDraft (#200) --- src/pypaperless/models/documents.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pypaperless/models/documents.py b/src/pypaperless/models/documents.py index 938a75b..b125246 100644 --- a/src/pypaperless/models/documents.py +++ b/src/pypaperless/models/documents.py @@ -109,6 +109,7 @@ class DocumentDraft( storage_path: int | None = None tags: int | list[int] | None = None archive_serial_number: int | None = None + custom_fields: list[int] | None = None def _serialize(self) -> dict[str, Any]: """Serialize."""