driver/database.py
def collect_table_level_observation_for_on_prem(config: DriverConfig) -> TableLevelObservation:
    """
    Get the table level observation data for the target cloud database.

    Args:
        config: driver configuration for cloud deployment.
    Returns:
        Table level observation data from the target database.
    Raises:
        DriverConfigException: invalid database configuration.
        DbCollectorException: database type is not supported.
        MysqlCollectorException: unable to connect to MySQL database or get version.
        PostgresCollectorException: unable to connect to Postgres database or get version.
    """
    observation = collect_table_level_data_from_database(config._asdict())
    return observation

    Get the table level observation data for the target cloud database.

    Args:
        config: driver configuration for cloud deployment.
    Returns:
        Table level observation data from the target database.
    Raises:
        DriverConfigException: invalid database configuration.
        DbCollectorException: database type is not supported.
        MysqlCollectorException: unable to connect to MySQL database or get version.
        PostgresCollectorException: unable to connect to Postgres database or get version.
    
Get the table level observation data for the target cloud database.
Get the table level observation data for the target cloud database .
def collect_table_level_observation_for_on_prem(config: DriverConfig) -> TableLevelObservation:
    observation = collect_table_level_data_from_database(config._asdict())
    return observation
def collect_table_level_observation_for_on_prem ( config : DriverConfig ) -> TableLevelObservation : observation = collect_table_level_data_from_database ( config . _asdict ( ) ) return observation
Get the table level observation data for the target cloud database.
Get the table level observation data for the target cloud database .
"""
    Get the table level observation data for the target cloud database.

    Args:
        config: driver configuration for cloud deployment.
    Returns:
        Table level observation data from the target database.
    Raises:
        DriverConfigException: invalid database configuration.
        DbCollectorException: database type is not supported.
        MysqlCollectorException: unable to connect to MySQL database or get version.
        PostgresCollectorException: unable to connect to Postgres database or get version.
    """
Table level observation data from the target database.
Table level observation data from the target database .
invalid database configuration.
invalid database configuration .
DriverConfigException
database type is not supported.
database type is not supported .
DbCollectorException
unable to connect to MySQL database or get version.
unable to connect to MySQL database or get version .
MysqlCollectorException
unable to connect to Postgres database or get version.
unable to connect to Postgres database or get version .
PostgresCollectorException
config
DriverConfig
driver configuration for cloud deployment.
driver configuration for cloud deployment .