From e5aa367f4ccd82114b2e957606e9c8677474e770 Mon Sep 17 00:00:00 2001 From: Daniel Silva Date: Sun, 10 Dec 2023 02:32:43 +0000 Subject: [PATCH] feat: increase default timeout value --- semanticscholar/AsyncSemanticScholar.py | 2 +- semanticscholar/SemanticScholar.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/semanticscholar/AsyncSemanticScholar.py b/semanticscholar/AsyncSemanticScholar.py index d86695b..3704aa3 100644 --- a/semanticscholar/AsyncSemanticScholar.py +++ b/semanticscholar/AsyncSemanticScholar.py @@ -24,7 +24,7 @@ class AsyncSemanticScholar: def __init__( self, - timeout: int = 10, + timeout: int = 30, api_key: str = None, api_url: str = None, debug: bool = False diff --git a/semanticscholar/SemanticScholar.py b/semanticscholar/SemanticScholar.py index e48db2c..1188911 100644 --- a/semanticscholar/SemanticScholar.py +++ b/semanticscholar/SemanticScholar.py @@ -15,7 +15,7 @@ class SemanticScholar(): def __init__( self, - timeout: int = 10, + timeout: int = 30, api_key: str = None, api_url: str = None, debug: bool = False