Skip to content

Commit 2ae756a

Browse files
committed
Move endpoint docs
1 parent 22ea8fb commit 2ae756a

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

scrapinghub/client/__init__.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,6 @@ class ScrapinghubClient(object):
4141
:param dash_endpoint: (optional) Scrapy Cloud API URL.
4242
If not provided, it will be read from the ``SHUB_APIURL`` environment
4343
variable, or fall back to ``"https://app.zyte.com/api/"``.
44-
:param endpoint: (optional) Scrapy Cloud storage API URL.
45-
If not provided, it will be read from the ``SHUB_STORAGE`` environment
46-
variable, or fall back to ``"https://storage.scrapinghub.com/"``.
4744
:param \*\*kwargs: (optional) Additional arguments for
4845
:class:`~scrapinghub.hubstorage.HubstorageClient` constructor.
4946

scrapinghub/hubstorage/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def __init__(self, auth=None, endpoint=None, connection_timeout=None,
7373
7474
Args:
7575
auth (str): The client authentication token
76-
endpoint (str): The API root address
76+
endpoint (str, optional): The API root address. If not provided, it will be read from the ``SHUB_STORAGE`` environment variable, or fall back to ``"https://storage.scrapinghub.com/"``.
7777
connection_timeout (int): The connection timeout for a _single request_
7878
max_retries (int): The number of time idempotent requests may be retried
7979
max_retry_time (int): The time, in seconds, during which the client can retry a request

0 commit comments

Comments
 (0)