Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion any_parser/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@

__all__ = ["AnyParser"]

__version__ = "0.0.23"
__version__ = "0.0.24"
6 changes: 3 additions & 3 deletions any_parser/any_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

PUBLIC_SHARED_BASE_URL = "https://public-api.cambioml.com"
PUBLIC_BATCH_BASE_URL = "http://batch-api.cambioml.com"
TIMEOUT = 60
TIMEOUT = 180


def handle_file_processing(func):
Expand Down Expand Up @@ -399,7 +399,7 @@ def async_fetch(
self,
file_id: str,
sync: bool = True,
sync_timeout: int = 60,
sync_timeout: int = 180,
sync_interval: int = 5,
) -> str:
"""Fetches extraction results asynchronously.
Expand All @@ -409,7 +409,7 @@ def async_fetch(
sync (bool, optional): Whether to wait for the results
synchronously.
sync_timeout (int, optional): Maximum time to wait for results in
seconds. Defaults to 60.
seconds. Defaults to 180.
sync_interval (int, optional): Time interval between polling
attempts in seconds. Defaults to 5.

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "any-parser"
version = "0.0.23"
version = "0.0.24"
description = "Parser for all."
authors = ["CambioML <wanwanaiai45@gmail.com>"]
maintainers = ["Rachel Hu <goldpiggy@berkeley.edu>"]
Expand Down