Skip to content

Commit 9b7853b

Browse files
authored
Update request_queue.py
Update docstrings
1 parent 3729fac commit 9b7853b

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/apify_client/clients/resource_clients/request_queue.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ def get_request_by_unique_key(self, request_unique_key: str) -> dict | None:
226226
https://docs.apify.com/api/v2#/reference/request-queues/request/get-request
227227
228228
Args:
229-
request_unique_key: unique key of the request to retrieve.
229+
request_unique_key: Unique key of the request to retrieve.
230230
231231
Returns:
232232
The retrieved request, or None, if it did not exist.
@@ -327,7 +327,7 @@ def prolong_request_lock_by_unique_key(
327327
https://docs.apify.com/api/v2#/reference/request-queues/request-lock/prolong-request-lock
328328
329329
Args:
330-
request_unique_key: ID of the request to prolong the lock.
330+
request_unique_key: Unique key of the request to prolong the lock.
331331
forefront: Whether to put the request in the beginning or the end of the queue after lock expires.
332332
lock_secs: By how much to prolong the lock, in seconds.
333333
"""
@@ -359,7 +359,7 @@ def delete_request_lock_by_unique_key(self, request_unique_key: str, *, forefron
359359
https://docs.apify.com/api/v2#/reference/request-queues/request-lock/delete-request-lock
360360
361361
Args:
362-
request_unique_key: ID of the request to delete the lock.
362+
request_unique_key: Unique key of the request to delete the lock.
363363
forefront: Whether to put the request in the beginning or the end of the queue after the lock is deleted.
364364
"""
365365
return self.delete_request_lock(unique_key_to_request_id(request_unique_key), forefront=forefront)
@@ -660,7 +660,7 @@ async def get_request_by_unique_key(self, request_unique_key: str) -> dict | Non
660660
https://docs.apify.com/api/v2#/reference/request-queues/request/get-request
661661
662662
Args:
663-
request_unique_key: unique key of the request to retrieve.
663+
request_unique_key: Unique key of the request to retrieve.
664664
665665
Returns:
666666
The retrieved request, or None, if it did not exist.
@@ -759,7 +759,7 @@ async def prolong_request_lock_by_unique_key(
759759
https://docs.apify.com/api/v2#/reference/request-queues/request-lock/prolong-request-lock
760760
761761
Args:
762-
request_unique_key: ID of the request to prolong the lock.
762+
request_unique_key: Unique key of the request to prolong the lock.
763763
forefront: Whether to put the request in the beginning or the end of the queue after lock expires.
764764
lock_secs: By how much to prolong the lock, in seconds.
765765
"""
@@ -798,7 +798,7 @@ async def delete_request_lock_by_unique_key(
798798
https://docs.apify.com/api/v2#/reference/request-queues/request-lock/delete-request-lock
799799
800800
Args:
801-
request_unique_key: ID of the request to delete the lock.
801+
request_unique_key: Unique key of the request to delete the lock.
802802
forefront: Whether to put the request in the beginning or the end of the queue after the lock is deleted.
803803
"""
804804
return await self.delete_request_lock(unique_key_to_request_id(request_unique_key), forefront=forefront)

0 commit comments

Comments
 (0)