-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support all anomaly vars on all configuration levels #660
Support all anomaly vars on all configuration levels #660
Conversation
👋 @ofek1weiss |
@@ -13,6 +13,7 @@ | |||
|
|||
def pytest_addoption(parser): | |||
parser.addoption("--target", action="store", default="postgres") | |||
parser.addoption("--skip-init", action="store_true", default=False) |
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.
the tests i added just do run-operation
and did not need the models, this flag was quite useful
@@ -1,13 +1,12 @@ | |||
{% macro get_test_argument(argument_name, value, model_graph_node) %} |
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.
differentiate between undefined
and None
@@ -19,8 +19,6 @@ | |||
{# We use this macro to define and call vars, as the global vars defined in dbt_project.yml | |||
of the package are not accessible at on-run-start and on-run-end #} | |||
{% set default_config = { | |||
'detection_period': elementary.get_period_default_var(period='day', count=2), | |||
'training_period': elementary.get_period_default_var(period='day', count=14), |
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.
as these overwrite days_back
and backfill_days
, these default var values overwrite model/test values
No description provided.