ResourceMeta
This is the metadata for the job. For example, the id of the job.
Methods
encode()
@classmethod
def encode() - > bytes
Encode the resource meta to bytes.
Returns
| Type | Description |
|---|---|
bytes | The byte representation of the resource metadata. |
decode()
@classmethod
def decode(
data: bytes
) - > [ResourceMeta](resourcemeta.md?sid=flyte_connectors__connector_resourcemeta)
Decode the resource meta from bytes.
Parameters
| Name | Type | Description |
|---|---|---|
| data | bytes | The byte data representing the encoded ResourceMeta object. |
Returns
| Type | Description |
|---|---|
[ResourceMeta](resourcemeta.md?sid=flyte_connectors__connector_resourcemeta) | A ResourceMeta object reconstructed from the provided bytes. |