tecton.get_data_source

tecton.get_data_source(name, workspace_name=None)

Fetch an existing BatchDataSource or StreamDataSource by name.

Parameters

name – An unique name of the registered Data Source.

Returns

A BatchDataSource or StreamDataSource class instance.

Raises

TectonValidationError – if a data source with the passed name is not found.