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