Method
Sets database connector config for a dataset. This method is currently only supported for streaming datasets.
REQUIRED |
KEY |
TYPE |
DESCRIPTION |
Yes |
datasetId |
str |
Unique String Identifier of the dataset_id.
|
Yes |
databaseConnectorId |
str |
Unique String Identifier of the Database Connector to import the dataset from.
|
No |
objectName |
str |
If applicable, the name/ID of the object in the service to query.
|
No |
columns |
str |
The columns to query from the external service object.
|
No |
queryArguments |
str |
Additional query arguments to filter the data.
|
No |
sqlQuery |
str |
The full SQL query to use when fetching data. If present, this parameter will override `object_name`, `columns` and `query_arguments`.
|
Note: The arguments for the API methods follow camelCase but for Python SDK underscore_case is followed.
KEY |
TYPE |
DESCRIPTION |
success |
Boolean |
true if the call succeeded, false if there was an error |
TYPE |
WHEN |
DataNotFoundError |
`datasetId` is not found. |
DataNotFoundError |
`databaseConnectorId` is not found. |