Update pages_count to Optional[int] in consumer

This commit is contained in:
s0llvan 2024-09-24 20:23:51 +00:00
parent a87db2b070
commit acec8e35fa

View File

@ -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.