diff --git a/CHANGELOG.md b/CHANGELOG.md index e2f303f..5cc7793 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,3 +13,7 @@ ### Miscellaneous Chores * release 1.0.0 ([c1407d2](https://www.github.com/ShipEngine/shipengine-python/commit/c1407d2de88182c75ba6dafff1ab30a3ed71efc6)) + +## 1.0.1 + +* increase default timeout from 5s to 60s diff --git a/pyproject.toml b/pyproject.toml index 7331b60..4030c63 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "shipengine" -version = "1.0.0" +version = "1.0.1" description = "The official Python library for ShipEngine API." readme = "README.md" authors = ["ShipEngine "] diff --git a/shipengine/__init__.py b/shipengine/__init__.py index cbc0cbc..b61c560 100644 --- a/shipengine/__init__.py +++ b/shipengine/__init__.py @@ -1,5 +1,5 @@ """ShipEngine SDK.""" -__version__ = "1.0.0" +__version__ = "1.0.1" import logging from logging import NullHandler diff --git a/shipengine/shipengine_config.py b/shipengine/shipengine_config.py index 3bd6617..60834b0 100644 --- a/shipengine/shipengine_config.py +++ b/shipengine/shipengine_config.py @@ -16,7 +16,7 @@ class ShipEngineConfig: DEFAULT_RETRIES: int = 1 """Default number of retries the ShipEngineClient should make before returning an exception.""" - DEFAULT_TIMEOUT: int = 5 + DEFAULT_TIMEOUT: int = 60 """Default timeout for the ShipEngineClient in seconds.""" def __init__(self, config: Dict[str, Any]) -> None: diff --git a/shipengine/version.py b/shipengine/version.py index 5becc17..5c4105c 100644 --- a/shipengine/version.py +++ b/shipengine/version.py @@ -1 +1 @@ -__version__ = "1.0.0" +__version__ = "1.0.1" diff --git a/tests/test_shipengine_config.py b/tests/test_shipengine_config.py index 7d784b2..c1526cf 100644 --- a/tests/test_shipengine_config.py +++ b/tests/test_shipengine_config.py @@ -198,7 +198,7 @@ def test_config_defaults(self) -> None: assert config.retries == 1 assert config.page_size == 50 - assert config.timeout == 5 + assert config.timeout == 60 assert config.base_uri is BaseURL.SHIPENGINE_RPC_URL.value def test_to_dict_method(self) -> None: