informatica.infacore.datasource.datasource.get_data_source

informatica.infacore.datasource.datasource.get_data_source(datasource_name: str) DataSource

Fetches the data source object for the data source name you specified.

Parameters:

datasource_name (str) – The name of the data source for which you want to extract or load data.

Returns:

Object of class DataSource.

Return type:

DataSource

Example

>>> import informatica.infacore as ic
>>> ic.get_data_source("Oracle")
Raises:

ValueError – A ValueError if you specified an unsupported data source name.