Skip to content

Commit 6fb6f03

Browse files
Pijukatelbarjin
andauthored
Apply suggestions from code review
Co-authored-by: Jindřich Bär <[email protected]>
1 parent 1db6008 commit 6fb6f03

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

src/apify_client/client.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,10 @@ def __init__(
7373
7474
Args:
7575
token: The Apify API token.
76-
api_url: The URL of the Apify API server to which to connect to. Defaults to https://api.apify.com. It can
77-
be internal url that is not globally accessible, in such case `api_public_url` should be set as well.
76+
api_url: The URL of the Apify API server to which to connect. Defaults to https://api.apify.com. It can
77+
be an internal URL that is not globally accessible, in such case `api_public_url` should be set as well.
7878
api_public_url: The globally accessible URL of the Apify API server. It should be set only if the `api_url`
79-
is internal url that is not globally accessible.
79+
is an internal URL that is not globally accessible.
8080
max_retries: How many times to retry a failed request at most.
8181
min_delay_between_retries_millis: How long will the client wait between retrying requests
8282
(increases exponentially from this value).
@@ -117,10 +117,10 @@ def __init__(
117117
118118
Args:
119119
token: The Apify API token.
120-
api_url: The URL of the Apify API server to which to connect to. Defaults to https://api.apify.com. It can
121-
be internal url that is not globally accessible, in such case `api_public_url` should be set as well.
120+
api_url: The URL of the Apify API server to which to connect. Defaults to https://api.apify.com. It can
121+
be an internal URL that is not globally accessible, in such case `api_public_url` should be set as well.
122122
api_public_url: The globally accessible URL of the Apify API server. It should be set only if the `api_url`
123-
is internal url that is not globally accessible.
123+
is an internal URL that is not globally accessible.
124124
max_retries: How many times to retry a failed request at most.
125125
min_delay_between_retries_millis: How long will the client wait between retrying requests
126126
(increases exponentially from this value).
@@ -305,10 +305,10 @@ def __init__(
305305
306306
Args:
307307
token: The Apify API token.
308-
api_url: The URL of the Apify API server to which to connect to. Defaults to https://api.apify.com. It can
309-
be internal url that is not globally accessible, in such case `api_public_url` should be set as well.
308+
api_url: The URL of the Apify API server to which to connect. Defaults to https://api.apify.com. It can
309+
be an internal URL that is not globally accessible, in such case `api_public_url` should be set as well.
310310
api_public_url: The globally accessible URL of the Apify API server. It should be set only if the `api_url`
311-
is internal url that is not globally accessible.
311+
is an internal URL that is not globally accessible.
312312
max_retries: How many times to retry a failed request at most.
313313
min_delay_between_retries_millis: How long will the client wait between retrying requests
314314
(increases exponentially from this value).

0 commit comments

Comments
 (0)