https://dagster.io/ logo
#integration-dbt
Title
# integration-dbt
c

Charlie Bini

07/25/2023, 7:21 PM
Is the recommended way to define a freshness policy for a model still via the config block (per this github discusion https://github.com/dagster-io/dagster/discussions/14477#discussioncomment-6094301), or have things changed since?
r

rex

07/25/2023, 7:27 PM
for now, yes. we’ll probably add a “get_freshness_policy”/“get_auto_materialize_policy” function in DagsterDbtTranslator as well if you want to do this programmatically
c

Charlie Bini

07/25/2023, 7:29 PM
cool, that's probably a good idea, but was just wondering what the correct way to do it is currently