diff --git a/README.rst b/README.rst index 2259f14..c965e88 100644 --- a/README.rst +++ b/README.rst @@ -64,7 +64,7 @@ Listing jobs Treasure Data API key will be read from environment variable ``TD_API_KEY``\ , if none is given via ``apikey=`` argument passed to ``tdclient.Client``. -Treasure Data API endpoint ``https://api.treasuredata.com`` is used by default. You can override this with environment variable ``TD_API_SERVER``\ , which in turn can be overridden via ``endpoint=`` argument passed to ``tdclient.Client``. List of available Treasure Data sites and corresponding API endpoints can be found `here `_. +Treasure Data API endpoint ``https://api.treasuredata.com`` is used by default. You can override this with environment variable ``TD_API_SERVER``\ , which in turn can be overridden via ``endpoint=`` argument passed to ``tdclient.Client``. List of available Treasure Data sites and corresponding API endpoints can be found `here `_. .. code-block:: python diff --git a/tdclient/client.py b/tdclient/client.py index 3081102..b40048e 100644 --- a/tdclient/client.py +++ b/tdclient/client.py @@ -676,13 +676,13 @@ def create_schedule( - cron (str, optional): Schedule of the query. {``"@daily"``, ``"@hourly"``, ``"10 * * * *"`` (custom cron)} - See also: https://tddocs.atlassian.net/wiki/spaces/PD/pages/1084633/Scheduling+Jobs+Using+TD+Console + See also: https://docs.treasuredata.com/articles/#!pd/Scheduling-Jobs-Using-TD-Console - delay (int, optional): A delay ensures all buffered events are imported before running the query. Default: 0 - query (str): Is a language used to retrieve, insert, update and modify - data. See also: https://tddocs.atlassian.net/wiki/spaces/PD/pages/1084438/SQL+Examples+of+Scheduled+Queries + data. See also: https://docs.treasuredata.com/articles/#!pd/SQL-Examples-of-Scheduled-Queries - priority (int, optional): Priority of the query. Range is from -2 (very low) to 2 (very high). Default: 0 @@ -744,13 +744,13 @@ def update_schedule(self, name: str, params: ScheduleParams | None = None) -> No - cron (str, optional): Schedule of the query. {``"@daily"``, ``"@hourly"``, ``"10 * * * *"`` (custom cron)} - See also: https://tddocs.atlassian.net/wiki/spaces/PD/pages/1084633/Scheduling+Jobs+Using+TD+Console + See also: https://docs.treasuredata.com/articles/#!pd/Scheduling-Jobs-Using-TD-Console - delay (int, optional): A delay ensures all buffered events are imported before running the query. Default: 0 - query (str): Is a language used to retrieve, insert, update and modify - data. See also: https://tddocs.atlassian.net/wiki/spaces/PD/pages/1084438/SQL+Examples+of+Scheduled+Queries + data. See also: https://docs.treasuredata.com/articles/#!pd/SQL-Examples-of-Scheduled-Queries - priority (int, optional): Priority of the query. Range is from -2 (very low) to 2 (very high). Default: 0 diff --git a/tdclient/connector_api.py b/tdclient/connector_api.py index 93da78b..c20db2c 100644 --- a/tdclient/connector_api.py +++ b/tdclient/connector_api.py @@ -196,7 +196,7 @@ def connector_create(self, name, database, table, job, params=None): - cron (str, optional): Schedule of the query. {``"@daily"``, ``"@hourly"``, ``"10 * * * *"`` (custom cron)} - See also: https://tddocs.atlassian.net/wiki/spaces/PD/pages/1084633/Scheduling+Jobs+Using+TD+Console + See also: https://docs.treasuredata.com/articles/#!pd/Scheduling-Jobs-Using-TD-Console - delay (int, optional): A delay ensures all buffered events are imported before running the query. Default: 0 diff --git a/tdclient/schedule_api.py b/tdclient/schedule_api.py index adc76c7..266594c 100644 --- a/tdclient/schedule_api.py +++ b/tdclient/schedule_api.py @@ -55,13 +55,13 @@ def create_schedule( - cron (str, optional): Schedule of the query. {``"@daily"``, ``"@hourly"``, ``"10 * * * *"`` (custom cron)} - See also: https://tddocs.atlassian.net/wiki/spaces/PD/pages/1084633/Scheduling+Jobs+Using+TD+Console + See also: https://docs.treasuredata.com/articles/#!pd/Scheduling-Jobs-Using-TD-Console - delay (int, optional): A delay ensures all buffered events are imported before running the query. Default: 0 - query (str): Is a language used to retrieve, insert, update and modify - data. See also: https://tddocs.atlassian.net/wiki/spaces/PD/pages/1084438/SQL+Examples+of+Scheduled+Queries + data. See also: https://docs.treasuredata.com/articles/#!pd/SQL-Examples-of-Scheduled-Queries - priority (int, optional): Priority of the query. Range is from -2 (very low) to 2 (very high). Default: 0 @@ -139,13 +139,13 @@ def update_schedule( - cron (str, optional): Schedule of the query. {``"@daily"``, ``"@hourly"``, ``"10 * * * *"`` (custom cron)} - See also: https://tddocs.atlassian.net/wiki/spaces/PD/pages/1084633/Scheduling+Jobs+Using+TD+Console + See also: https://docs.treasuredata.com/articles/#!pd/Scheduling-Jobs-Using-TD-Console - delay (int, optional): A delay ensures all buffered events are imported before running the query. Default: 0 - query (str): Is a language used to retrieve, insert, update and modify - data. See also: https://tddocs.atlassian.net/wiki/spaces/PD/pages/1084438/SQL+Examples+of+Scheduled+Queries + data. See also: https://docs.treasuredata.com/articles/#!pd/SQL-Examples-of-Scheduled-Queries - priority (int, optional): Priority of the query. Range is from -2 (very low) to 2 (very high). Default: 0