data_connection
Module to interact with data connections.
This module contains class to interact with a data connection in EMS data integration.
Typical usage example
DataConnection ¶
Bases: DataSourceTransport
DataConnection object to interact with data connection specific data integration endpoints.
data_pool_id
property
writable
¶
Returns id of data pool for given data connection.
Returns:
-
str
–Data pool id.
from_transport
classmethod
¶
Creates high-level data connection object from the given DataSourceTransport.
Parameters:
-
client
(
Client
) –Client to use to make API calls for given job.
-
data_source_transport
(
DataSourceTransport
) –DataSourceTransport object containing properties of data connection.
Returns:
-
DataConnection
–A DataConnection object with properties from transport and given client.
get_tables ¶
Returns tables matching given search string. If no search string is given, all tables are returned.
Parameters:
-
search_string
(
typing.Optional[str]
) –Search string to filter tables. Default is None which returns all tables.
Returns:
-
typing.List[typing.Optional[DataSourceTable]]
–Returns list of DataSourceTable objects containing tables matching search string.
Raises:
-
PyCelonisValueError
–Raised if search for tables with given search string failed.