mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-04-27 17:36:23 +02:00
Fix/chunking not enabled (#364)
* Enable chunking by default in producer * Fix some issues including uploading large docs
This commit is contained in:
parent
844547ab5f
commit
9e4eb634a4
8 changed files with 17 additions and 6 deletions
|
|
@ -105,7 +105,7 @@ def serialize_document_metadata(message):
|
|||
if message.user:
|
||||
ret["user"] = message.user
|
||||
|
||||
if message.tags:
|
||||
if message.tags is not None:
|
||||
ret["tags"] = message.tags
|
||||
|
||||
return ret
|
||||
|
|
@ -132,7 +132,7 @@ def serialize_processing_metadata(message):
|
|||
if message.collection:
|
||||
ret["collection"] = message.collection
|
||||
|
||||
if message.tags:
|
||||
if message.tags is not None:
|
||||
ret["tags"] = message.tags
|
||||
|
||||
return ret
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue