kedro.io.ExistsMixin

class kedro.io.ExistsMixin[source]

Bases: abc.ABC

Mixin class which provides an exists() method.

Methods

ExistsMixin.exists() Checks whether a data set’s output already exists by calling the provided _exists() method.
__init__

Initialize self. See help(type(self)) for accurate signature.

exists()[source]

Checks whether a data set’s output already exists by calling the provided _exists() method.

Return type:bool
Returns:Flag indicating whether the output already exists.
Raises:DataSetError – when underlying exists method raises error.