1.16.10
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 | Description |
|---|---|---|
function |
typing.Callable[[~T], str] |
Methods
| Method | Description |
|---|---|
calculate() |
Calculate hash for obj. |
calculate()
def calculate(
obj: ~T,
) -> strCalculate hash for obj.
| Parameter | Type | Description |
|---|---|---|
obj |
~T |