DataAsset
A Data Asset is a collection of records within a Data Source, which is usually named based on the underlying data system and sliced to correspond to a desired specification.
Data Assets are used to specify how Great Expectations will organize data into Batches.
Delete a batch definition.
Parameters
Name Description name (str)
Name of the BatchDefinition to delete.
Get a batch definition.
Parameters
Name Description name (str)
Name of the BatchDefinition to get.
Raises
Type Description KeyError
If the BatchDefinition does not exist.
Signature
class great_expectations.datasource.fluent.DataAsset(*, name: str, type: str, id: Optional[uuid.UUID] = None, order_by: List[great_expectations.datasource.fluent.interfaces.Sorter] = None, batch_metadata: Dict[str, Any] = None, batch_definitions: List[great_expectations.core.batch_definition.BatchDefinition] = None)
Methods
Signature
delete_batch_definition(name: str) → None
Signature
get_batch_definition(name: str) → great_expectations.core.batch_definition.BatchDefinition