A community-supported supercharged document management system: scan, index and archive all your documents
Python aiangulararchivingdjangodmsdocument-managementdocument-management-systemllmmachine-learningocroptical-character-recognitionpdf
Notes a TODO for a later library release to remove a workaround
Trenton Holmesb6dd36a439b3
diff --git a/src/documents/tasks.py b/src/documents/tasks.pyindex f5bad665a..b5dc264fb 100644--- a/src/documents/tasks.py+++ b/src/documents/tasks.py@@ -101,6 +101,8 @@ def consume_file(# Celery converts this to a string, but everything expects a datetime# Long term solution is to not use JSON for the serializer but pickle instead+ # TODO: This will be resolved in kombu 5.3, expected with celery 5.3+ # More types will be retained through JSON encode/decodeif override_created is not None and isinstance(override_created, str):try:override_created = datetime.fromisoformat(override_created)