0.1.dev2192+g7c539c3.d20250403

flytekit.core.hash

Directory

Classes

Class Description
HashMethod Flyte-specific object used to wrap the hash function for a specific type.
HashOnReferenceMixin

Variables

Property Type Description
T TypeVar

flytekit.core.hash.HashMethod

Flyte-specific object used to wrap the hash function for a specific type

class HashMethod(
    function: typing.Callable[[~T], str],
)
Parameter Type
function typing.Callable[[~T], str]

Methods

Method Description
calculate() Calculate hash for obj.

calculate()

def calculate(
    obj: ~T,
) -> str

Calculate hash for obj.

Parameter Type
obj ~T

flytekit.core.hash.HashOnReferenceMixin