Mycchaka Kleinbort
08/15/2023, 2:36 PMmodel_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'>.
sean
08/15/2023, 8:26 PM