format_partition_key¶
kedro_dagster.utils.format_partition_key(partition_key)
¶
Format a partition key into a Dagster-safe suffix (^[A-Za-z0-9_]+$).
Parameters¶
| Name | Type | Description | Default |
|---|---|---|---|
partition_key
|
Any
|
Partition key to serialize. |
required |
Returns¶
| Type | Description |
|---|---|
str
|
Serialized partition key. |
See Also¶
kedro_dagster.utils.format_dataset_name :
Formats dataset names under the same naming convention.