great_expectations.datasource.data_connector.inferred_asset_sql_data_connector

Module Contents

Classes

InferredAssetSqlDataConnector(name: str, datasource_name: str, execution_engine: Optional[ExecutionEngine] = None, data_asset_name_prefix: Optional[str] = ‘’, data_asset_name_suffix: Optional[str] = ‘’, include_schema_name: Optional[bool] = False, splitter_method: Optional[str] = None, splitter_kwargs: Optional[dict] = None, sampling_method: Optional[str] = None, sampling_kwargs: Optional[dict] = None, excluded_tables: Optional[list] = None, included_tables: Optional[list] = None, skip_inapplicable_tables: Optional[bool] = True, introspection_directives: Optional[dict] = None, batch_spec_passthrough: Optional[dict] = None)

A DataConnector that infers data_asset names by introspecting a SQL database

great_expectations.datasource.data_connector.inferred_asset_sql_data_connector.sa
class great_expectations.datasource.data_connector.inferred_asset_sql_data_connector.InferredAssetSqlDataConnector(name: str, datasource_name: str, execution_engine: Optional[ExecutionEngine] = None, data_asset_name_prefix: Optional[str] = '', data_asset_name_suffix: Optional[str] = '', include_schema_name: Optional[bool] = False, splitter_method: Optional[str] = None, splitter_kwargs: Optional[dict] = None, sampling_method: Optional[str] = None, sampling_kwargs: Optional[dict] = None, excluded_tables: Optional[list] = None, included_tables: Optional[list] = None, skip_inapplicable_tables: Optional[bool] = True, introspection_directives: Optional[dict] = None, batch_spec_passthrough: Optional[dict] = None)

Bases: great_expectations.datasource.data_connector.ConfiguredAssetSqlDataConnector

A DataConnector that infers data_asset names by introspecting a SQL database

property assets(self)
_refresh_data_references_cache(self)
_refresh_introspected_assets_cache(self, data_asset_name_prefix: str = None, data_asset_name_suffix: str = None, include_schema_name: bool = False, splitter_method: str = None, splitter_kwargs: dict = None, sampling_method: str = None, sampling_kwargs: dict = None, excluded_tables: List = None, included_tables: List = None, skip_inapplicable_tables: bool = True)
_introspect_db(self, schema_name: str = None, ignore_information_schemas_and_system_tables: bool = True, information_schemas: List[str] = ['INFORMATION_SCHEMA', 'information_schema', 'performance_schema', 'sys', 'mysql'], system_tables: List[str] = ['sqlite_master'], include_views=True)