Is there support for freshness policies on Static ...
# dagster-feedback
m
Is there support for freshness policies on Static Partition assets? Seems like a big gap:
Copy code
model_partitions_def = StaticPartitionsDefinition(
    ['GPT-3', 'GPT-4', 'Llama', 'Llama2', 'Orca', 'PaLM']
)

@asset(group_name='00_Partitioned_Model_Assets', partitions_def = model_partitions_def, freshness_policy=REFRESH_DAILY_AT_5AM)
def current_model_assets(...):
   ... # This is illustrative, but you can imagine that each model is used to perform the same task and later their outputs are ensembled 

# Later when I try and load the project
>>> dagster._check.ParameterCheckError: Invariant violation for parameter freshness_policies_by_key. Description: FreshnessPolicies are currently unsupported for assets with partitions of type <class 'dagster._core.definitions.partition.StaticPartitionsDefinition'>.
🤖 1
s
There is an issue for this now, so further discussion there: https://github.com/dagster-io/dagster/issues/15852