what's the correct way to schedule a multipartitio...
# ask-community
c
what's the correct way to schedule a multipartition job?
plus1 1
in my case, one partition is static while the other is a time window
I'd like to schedule all unmaterialized partitions to refresh at the same time, but there doesn't seem to be a simple way to do that
c
Hi Charlie. Currently no built in way to do this, but we do have an issue for this: https://github.com/dagster-io/dagster/issues/10800 I'm working on resolving this for the next release.
The issue does contain a code snippet that you can modify. I.e. by doing something like
Copy code
context.instance.get_materialization_count_by_partition([asset_key])
to check whether a particular partition has been materialized