great_expectations.core.batch

Module Contents

Classes

BatchDefinition(datasource_name: str, data_connector_name: str, data_asset_name: str, partition_definition: PartitionDefinition, batch_spec_passthrough: Optional[dict] = None)

BatchRequest(datasource_name: str = None, data_connector_name: str = None, data_asset_name: str = None, partition_request: Optional[Union[PartitionRequest, dict]] = None, batch_data: Any = None, limit: Union[int, None] = None, batch_spec_passthrough: Optional[dict] = None)

This class contains all attributes of a batch_request.

BatchMarkers(*args, **kwargs)

A BatchMarkers is a special type of BatchKwargs (so that it has a batch_fingerprint) but it generally does

Batch(data, batch_request: BatchRequest = None, batch_definition: BatchDefinition = None, batch_spec: BatchSpec = None, batch_markers: BatchMarkers = None, data_context=None, datasource_name=None, batch_parameters=None, batch_kwargs=None)

class great_expectations.core.batch.BatchDefinition(datasource_name: str, data_connector_name: str, data_asset_name: str, partition_definition: PartitionDefinition, batch_spec_passthrough: Optional[dict] = None)

Bases: great_expectations.types.SerializableDictDot

to_json_dict(self)
__repr__(self)

Return repr(self).

static _validate_batch_definition(datasource_name: str, data_connector_name: str, data_asset_name: str, partition_definition: PartitionDefinition)
property datasource_name(self)
property data_connector_name(self)
property data_asset_name(self)
property partition_definition(self)
property batch_spec_passthrough(self)
get_json_dict(self)
property id(self)
__eq__(self, other)

Return self==value.

__str__(self)

Return str(self).

__hash__(self)

Overrides the default implementation

class great_expectations.core.batch.BatchRequest(datasource_name: str = None, data_connector_name: str = None, data_asset_name: str = None, partition_request: Optional[Union[PartitionRequest, dict]] = None, batch_data: Any = None, limit: Union[int, None] = None, batch_spec_passthrough: Optional[dict] = None)

Bases: great_expectations.types.DictDot

This class contains all attributes of a batch_request.

property datasource_name(self)
property data_connector_name(self)
property data_asset_name(self)
property partition_request(self)
property batch_data(self)
property limit(self)
property batch_spec_passthrough(self)
static _validate_batch_request(datasource_name: str, data_connector_name: str, data_asset_name: str, partition_request: Optional[Union[PartitionRequest, dict]] = None, limit: Union[int, None] = None)
get_json_dict(self)
__str__(self)

Return str(self).

property id(self)
__eq__(self, other)

Return self==value.

class great_expectations.core.batch.BatchMarkers(*args, **kwargs)

Bases: great_expectations.core.id_dict.BatchKwargs

A BatchMarkers is a special type of BatchKwargs (so that it has a batch_fingerprint) but it generally does NOT require specific keys and instead captures information about the OUTPUT of a datasource’s fetch process, such as the timestamp at which a query was executed.

property ge_load_time(self)
class great_expectations.core.batch.Batch(data, batch_request: BatchRequest = None, batch_definition: BatchDefinition = None, batch_spec: BatchSpec = None, batch_markers: BatchMarkers = None, data_context=None, datasource_name=None, batch_parameters=None, batch_kwargs=None)

Bases: great_expectations.types.DictDot

property data(self)
property batch_request(self)
property batch_definition(self)
property batch_spec(self)
property batch_markers(self)
property data_context(self)
property datasource_name(self)
property batch_parameters(self)
property batch_kwargs(self)
property id(self)
__str__(self)

Return str(self).

head(self)