PartitionSchema
Package: flyte.remote
The partition keys fixed for an artifact name: at most one time key with its
granularity, plus string keys in declaration order. declared says whether
the keys were fixed by an explicit Artifact.declare (True) or by the first
version (False).
class PartitionSchema(
time_key: str | None,
granularity: Granularity | None,
keys: tuple[str, ...],
declared: bool = False,
)
| Parameter |
Type |
Description |
time_key |
str | None |
|
granularity |
Granularity | None |
|
keys |
tuple[str, ...] |
|
declared |
bool |
|
| Property |
Type |
Description |
all_keys |
tuple[str, ...] |
Every partition key, time key first. |
def from_pb2(
schema: artifact_pb2.ArtifactPartitionSchema,
declared: bool = False,
) -> PartitionSchema
| Parameter |
Type |
Description |
schema |
artifact_pb2.ArtifactPartitionSchema |
|
declared |
bool |
|