informatica.infacore.datasource.connection.Connection.get_data_object
- Connection.get_data_object(object_name: str) DataObject
Fetches the DataObject instance corresponding to the data object name you specified.
- Parameters:
object_name (str) – The name of the data object, or the complete path of the data object.
- Returns:
Instance of the DataObject for which you want to perform the read or write operation.
- Return type:
Example
>>> import informatica.infacore as ic >>> orcl_cnx = ic.get_datasource("Oracle").get_connection("Oracle Prod") >>> orcl_cnx.get_data_object("Customers")