flytekitplugins.great_expectations.BatchRequestConfig

class flytekitplugins.great_expectations.BatchRequestConfig(data_connector_query=None, runtime_parameters=None, batch_identifiers=None, batch_spec_passthrough=None)[source]

Use this configuration to configure Batch Request. A BatchRequest can either be a simple BatchRequest or a RuntimeBatchRequest.

Parameters:
  • data_connector_query (Dict[str, Any] | None) – query to request data batch

  • runtime_parameters (Dict[str, Any] | None) – parameters to be passed at runtime

  • batch_identifiers (Dict[str, str] | None) – identifiers to identify the data batch

  • batch_spec_passthrough (Dict[str, Any] | None) – reader method if your file doesn’t have an extension

Methods

classmethod from_dict(kvs, *, infer_missing=False)
Parameters:

kvs (dict | list | str | int | float | bool | None)

Return type:

A

classmethod from_json(s, *, parse_float=None, parse_int=None, parse_constant=None, infer_missing=False, **kw)
Parameters:

s (str | bytes | bytearray)

Return type:

A

classmethod schema(*, infer_missing=False, only=None, exclude=(), many=False, context=None, load_only=(), dump_only=(), partial=False, unknown=None)
Parameters:
Return type:

SchemaF[A]

to_dict(encode_json=False)
Return type:

Dict[str, dict | list | str | int | float | bool | None]

to_json(*, skipkeys=False, ensure_ascii=True, check_circular=True, allow_nan=True, indent=None, separators=None, default=None, sort_keys=False, **kw)
Parameters:
Return type:

str

Attributes

batch_identifiers: Dict[str, str] | None = None
batch_spec_passthrough: Dict[str, Any] | None = None
data_connector_query: Dict[str, Any] | None = None
dataclass_json_config = None
runtime_parameters: Dict[str, Any] | None = None