Skip to content

hsfs.ge_expectation #

GeExpectation #

Metadata object representing an feature validation expectation in the Feature Store.

id property writable #

id: int | None

Id of the expectation, set by backend.

expectation_type property writable #

expectation_type: str

Type of the expectation.

kwargs property writable #

kwargs: dict[str, Any]

Kwargs to run the expectation.

meta property writable #

meta: dict[str, Any]

Meta field of the expectation to store additional information.

from_ge_type classmethod #

from_ge_type(
    ge_expectation: great_expectations.core.ExpectationConfiguration,
)

Create a GeExpectation object from a Great Expectations ExpectationConfiguration object.

PARAMETER DESCRIPTION
ge_expectation

The ExpectationConfiguration object to convert.

TYPE: great_expectations.core.ExpectationConfiguration

to_ge_type #

to_ge_type() -> (
    great_expectations.core.ExpectationConfiguration
)

Convert to Great Expectations ExpectationConfiguration type.

RETURNS DESCRIPTION
great_expectations.core.ExpectationConfiguration

The expectation as a Great Expectations object.