diff --git a/poetry.lock b/poetry.lock index c7a8cd2f..df05e4fb 100644 --- a/poetry.lock +++ b/poetry.lock @@ -3829,4 +3829,4 @@ scrapy = ["scrapy"] [metadata] lock-version = "2.1" python-versions = "^3.9" -content-hash = "87308b6edfa2e2acd74bcb6f45826e4ad583c7799a1e387f3c99e3d9798e6982" +content-hash = "d57a4f7a5e0813ca594ea6af98a23afc9a3a46fbea95fbd54c0de4c05085b52d" diff --git a/pyproject.toml b/pyproject.toml index bb27ebb2..80646008 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -43,7 +43,7 @@ keywords = [ [tool.poetry.dependencies] python = "^3.9" -apify-client = ">=1.8.1" +apify-client = ">=1.9.1" apify-shared = ">=1.2.1" crawlee = "~0.5.1" cryptography = ">=42.0.0" diff --git a/src/apify/apify_storage_client/_apify_storage_client.py b/src/apify/apify_storage_client/_apify_storage_client.py index 67c6a456..476b3979 100644 --- a/src/apify/apify_storage_client/_apify_storage_client.py +++ b/src/apify/apify_storage_client/_apify_storage_client.py @@ -66,3 +66,7 @@ def request_queues(self) -> RequestQueueCollectionClient: @override async def purge_on_start(self) -> None: pass + + @override + def get_rate_limit_errors(self) -> dict[int, int]: # type: ignore[misc] + return self._apify_client.stats.rate_limit_errors