State.make_temp#

classmethod State.make_temp(source: Optional[Path] = None, checkpoint_name: str = '_') State#

Initialize state with a temporary directory.

Parameters:
sourcePath-like, optional

Location of pipeline store to use to initialize this object.

checkpoint_namestr, optional

name of checkpoint to load from source store, defaults to the last checkpoint found

Returns:
State