informatica.infacore.datasource.connection.Connection.list_data_objects
- Connection.list_data_objects(path: str = None) list[str]
Lists the available data objects in the specified connection instance.
- Parameters:
path (str, optional) –
The path to the data object. Default is False.
For example, if the data source is a Cloud Data Warehouse, you might need to provide the database name and the schema name in the following format: <DatabaseName>/<SchemaName>
If the data source is a Cloud Data Lake, you might need to enter the bucket name and folder name in the following format: <BucketName>/<FolderName>
- Returns:
A list of data objects with the read and write scopes.
- Return type:
list[str]
Example
>>> import informatica.infacore as ic >>> orcl_cnx = ic.get_datasource("Oracle").get_connection("Oracle Prod") >>> orcl_cnx.list_data_objects()