Son Giang
05/09/2022, 4:17 AMyuhan
05/09/2022, 5:30 PMSon Giang
05/10/2022, 2:21 AMfrom dagster import make_values_resource
partition_bounds = make_values_resource(start=str, end=str)
One resolution is pass the start_time and end_time in resource for ops to get it out. But it requires a lot of boiler plate when I have to pass the partition_bounds to every job resource config.
The another comments suggest to use context.partition_key, but the context.partition_key contains only start_time (it doesn’t include end_time). How can I also get end_time in this situation?