You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Incrementally updates data (insert, update, upsert, replace, or delete) in a published datasource from a live-to-Hyper connection.
1627
+
1628
+
For all connections to Parquet files and for datasources with a single connection, you can pass a `DatasourceItem`. For datasources with multiple connections, pass a `ConnectionItem` to target the specific connection.
1629
+
1630
+
REST API: [Update Data in Hyper Data Source](https://help.tableau.com/current/api/rest_api/en-us/REST/rest_api_ref_data_sources.htm#update_data_in_hyper_connection)
1631
+
1632
+
**Parameters**
1633
+
1634
+
Name | Description
1635
+
:--- | :---
1636
+
`datasource_or_connection_item` | A `DatasourceItem`, `ConnectionItem`, or datasource ID string. Use a `ConnectionItem` when the datasource has multiple connections.
1637
+
`request_id` | A user-supplied string to uniquely identify the request. Duplicate requests with the same key are executed only once.
1638
+
`actions` | A sequence of action mappings (insert, update, delete, etc.) specifying how to modify the data. See the [REST API documentation](https://help.tableau.com/current/api/rest_api/en-us/REST/rest_api_how_to_update_data_to_hyper.htm#action-batch-descriptions) for action format.
1639
+
`payload` | (Optional) Path to a Hyper file containing tuple data for the actions.
1640
+
1641
+
**Returns**
1642
+
1643
+
Returns a `JobItem` for the running job on the server.
Removes one or more tags from the specified datasource.
1698
+
1699
+
REST API: [Delete Tag from Data Source](https://help.tableau.com/current/api/rest_api/en-us/REST/rest_api_ref_data_sources.htm#delete_tag_from_data_source)
1700
+
1701
+
**Parameters**
1702
+
1703
+
Name | Description
1704
+
:--- | :---
1705
+
`item` | The `DatasourceItem` or datasource ID to remove tags from.
1706
+
`tags` | A single tag string or iterable of tag strings to remove.
Updates the tags on the server to match the tags on the specified datasource item. Changes to tags must be made on the `DatasourceItem.tags` attribute before calling this method.
1728
+
1729
+
**Parameters**
1730
+
1731
+
Name | Description
1732
+
:--- | :---
1733
+
`item` | The `DatasourceItem` whose tags to synchronize to the server.
1734
+
1735
+
**Returns**
1736
+
1737
+
None.
1738
+
1739
+
**Example**
1740
+
1741
+
```py
1742
+
datasource_item.tags.add('quarterly')
1743
+
server.datasources.update_tags(datasource_item)
1744
+
```
1745
+
1746
+
<br>
1747
+
<br>
1748
+
1749
+
#### datasources.filter
1750
+
1751
+
```py
1752
+
datasources.filter(**kwargs)
1753
+
```
1754
+
1755
+
Returns a list of datasources that match the specified filters. Fields and operators are passed as keyword arguments in the form `field_name=value` or `field_name__operator=value`.
0 commit comments