delete unused partition mapping helper
This commit is contained in:
@@ -68,6 +68,7 @@ def asset_single_2(context, asset_single_1):
|
||||
return f"Processed data for {partition_key}"
|
||||
|
||||
|
||||
# Special partition mapping that should give the last two partitions for "date" and all partitions for "source"
|
||||
partition_mapping = MultiPartitionMapping(
|
||||
{
|
||||
"date": DimensionPartitionMapping(
|
||||
@@ -87,6 +88,7 @@ partition_mapping = MultiPartitionMapping(
|
||||
ins={"asset_multi_1": AssetIn(partition_mapping=partition_mapping)},
|
||||
)
|
||||
def asset_multi_2(context, asset_multi_1):
|
||||
# Towards some delta mechanism between two partitions
|
||||
ic()
|
||||
ic(context.partition_key)
|
||||
ic(context.partition_key.keys_by_dimension)
|
||||
|
||||
Reference in New Issue
Block a user