Skip to main content
Version: 1.3.2

DataSourceManager

class great_expectations.datasource.fluent.sources.DataSourceManager(data_context: GXDataContext)#

Contains methods to interact with data sources from the gx context

This contains a collection of dynamically generated datasource factory methods in the format .add_<TYPE_NAME>().

It also contains general data source manipulation methods such as all(), get() and delete().

Methods

all() DatasourceDict#

Get all Datasources.

delete(name: str) None#

Deletes a datasource by name.

Parameters

name – The name of the given datasource.

get(name: str) Datasource#

Get a Datasource from the collection by name.

Parameters

name – Name of Datasource to get

Raises

KeyError when Datasource is not found.