0.1.dev2192+g7c539c3.d20250403
flytekit.utils.pbhash
Directory
Methods
| Method | Description |
|---|---|
compute_hash() |
Computes a deterministic hash in bytes for the Protobuf object. |
compute_hash_string() |
Computes a deterministic hash in base64 encoded string for the Protobuf object. |
Methods
compute_hash()
def compute_hash(
pb: google.protobuf.message.Message,
) -> bytesComputes a deterministic hash in bytes for the Protobuf object.
| Parameter | Type |
|---|---|
pb |
google.protobuf.message.Message |
compute_hash_string()
def compute_hash_string(
pb: google.protobuf.message.Message,
) -> strComputes a deterministic hash in base64 encoded string for the Protobuf object
| Parameter | Type |
|---|---|
pb |
google.protobuf.message.Message |