Update pages_count to Optional[int] in consumer
This commit is contained in:
parent
a87db2b070
commit
acec8e35fa
@ -797,7 +797,7 @@ class ConsumerPlugin(
|
||||
self,
|
||||
text: str,
|
||||
date: Optional[datetime.datetime],
|
||||
pages_count: int,
|
||||
pages_count: Optional[int],
|
||||
mime_type: str,
|
||||
) -> Document:
|
||||
# If someone gave us the original filename, use it instead of doc.
|
||||
|
Loading…
x
Reference in New Issue
Block a user