State.checkpoint.check_against#

State.checkpoint.check_against(location: Path, checkpoint_name: str, strict_categoricals: bool = False, rtol: float = 1e-05, atol: float = 1e-08)#

Check that the tables in this State match those in an archived pipeline.

Parameters:
locationPath-like
checkpoint_namestr
strict_categoricalsbool, default False

If True, check that categorical columns have the same categories in both the current state and the checkpoint. Otherwise, the dtypes of categorical columns are ignored, and only the values themselves are checked to confirm they match.

rtolfloat, default 1e-5

Relative tolerance. Passed through to assert_frame_equal.

atolfloat, default 1e-8

Absolute tolerance. Passed through to assert_frame_equal.

Raises:
AssertionError

If any registered table does not match.