An open source, non-profit web search engine
Timestamp can be float
Daoud Clarke9a6455748445
diff --git a/mwmbl/crawler/batch.py b/mwmbl/crawler/batch.pyindex eaa0b9e..440f725 100644--- a/mwmbl/crawler/batch.py+++ b/mwmbl/crawler/batch.py@@ -40,7 +40,7 @@ class Item(Schema):url: strresolved_url: Optional[str] = Nonestatus: Optional[int] = None- timestamp: int+ timestamp: floatcontent: Optional[ItemContent] = Noneerror: Optional[ItemError] = None@@ -56,7 +56,7 @@ class NewBatchRequest(Schema):class HashedBatch(Schema):user_id_hash: str- timestamp: int+ timestamp: floatitems: list[Item]