Skip to content

Commit

Permalink
Add custom_fields attribute to DocumentDraft (#200)
Browse files Browse the repository at this point in the history
  • Loading branch information
tb1337 authored May 22, 2024
1 parent 97e2db5 commit 0e31c0a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/pypaperless/models/documents.py
Original file line number Diff line number Diff line change
Expand Up @@ -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."""
Expand Down

0 comments on commit 0e31c0a

Please sign in to comment.