Skip to main content
Version: 0.96

snorkelflow.client.datasources.update_datasource

snorkelflow.client.datasources.update_datasource(datasource_uid, split)

Update split for a data source, in all nodes that have that datasource.

Datasource uids used in nodes can be found with get_node_datasources().

Parameters

NameTypeDefaultInfo
datasource_uidintUID of the data source to update.
splitstrsplit to re-assign the data source to.

Returns

List of uids of all nodes that have the updated datasource

Return type

List[int]