-
Notifications
You must be signed in to change notification settings - Fork 75
Conversation
d643200
to
728b937
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this looks great! Really awesome how things just seem to be tidier.
Great job, @chamini2 👏
projects/fal/integration_tests/projects/000_fal_run/fal_scripts/after.py
Show resolved
Hide resolved
# fal-format Python models | ||
generated_models = generate_python_dbt_models(parsed.project_dir, arg_vars) | ||
generated_models = generate_python_dbt_models(parsed.project_dir, parsed.vars) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When are we dropping these?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When are we dropping these?
Did not really underrstand the question.
I just introduced --vars
support for fal run
too (wanted to use vars for a different use and added it). But it's really not related to dbt 1.5
# HACK: issue in dbt-core 1.5.0 https://github.com/dbt-labs/dbt-core/issues/7465 | ||
env_target_path = os.getenv("DBT_TARGET_PATH") | ||
if env_target_path: | ||
config.target_path = env_target_path |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will target changes require any action from current users that want to update to 1.5?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With this change, it should just work no matter how the use it. The thing is that maybe for 1.5.1 we will need to release a new fix.
dbt-labs/dbt-core#7465 is making it hard to reliably know where to search for artifacts (e.g. run_results) so we are still using the deprecated target-path in dbt_project.yml for pytest and we may need to use it for integration tests
closes #846
closes FEA-1037