Eduard Ethan Carrés Hidalgo
01/13/2023, 4:02 PMowen
01/13/2023, 6:08 PMdef get_partitions_def():
sets = get_camera_data_sets()
return StaticPartitionsDefinition(sets)
as long as whatever process you're using to figure out what data sets actually exist isn't too expensive, this should work fine (you could also consider having a separate process write out the existing sets to a file, then read from that file in this function)Eduard Ethan Carrés Hidalgo
01/13/2023, 7:10 PM