Skip to content

Commit 5e96f71

Browse files
authored
fix: casing in exclusiveStartKey API param (#495)
Closes #484
1 parent 66a39df commit 5e96f71

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/apify_client/clients/resource_clients/key_value_store.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ def create_keys_public_url(
294294

295295
request_params = self._params(
296296
limit=limit,
297-
exclusive_start_key=exclusive_start_key,
297+
exclusiveStartKey=exclusive_start_key,
298298
collection=collection,
299299
prefix=prefix,
300300
)
@@ -584,7 +584,7 @@ async def create_keys_public_url(
584584

585585
request_params = self._params(
586586
limit=limit,
587-
exclusive_start_key=exclusive_start_key,
587+
exclusiveStartKey=exclusive_start_key,
588588
collection=collection,
589589
prefix=prefix,
590590
)

src/apify_client/clients/resource_clients/request_queue.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@ def list_requests(
396396
limit: How many requests to retrieve.
397397
exclusive_start_id: All requests up to this one (including) are skipped from the result.
398398
"""
399-
request_params = self._params(limit=limit, exclusive_start_id=exclusive_start_id, clientKey=self.client_key)
399+
request_params = self._params(limit=limit, exclusiveStartId=exclusive_start_id, clientKey=self.client_key)
400400

401401
response = self.http_client.call(
402402
url=self._url('requests'),
@@ -824,7 +824,7 @@ async def list_requests(
824824
limit: How many requests to retrieve.
825825
exclusive_start_id: All requests up to this one (including) are skipped from the result.
826826
"""
827-
request_params = self._params(limit=limit, exclusive_start_id=exclusive_start_id, clientKey=self.client_key)
827+
request_params = self._params(limit=limit, exclusiveStartId=exclusive_start_id, clientKey=self.client_key)
828828

829829
response = await self.http_client.call(
830830
url=self._url('requests'),

0 commit comments

Comments
 (0)