I get error message when use Anomaly tests params ...
# community-support
b
I get error message when use Anomaly tests params by following Anomaly document: https://docs.elementary-data.com/data-tests/anomaly-detection-configuration/training-period Error: Parsing Error Invalid test config given in my_model.yml: test definition dictionary must have exactly one key, got [('elementary.volume_anomalies', None), ('training_period', None)] instead (2 keys) Add vars in dbt_project.yml vars: detection_delay: period: month count: 1 Add config in model filr models: - name: this_is_a_model config: elementary: timestamp_column: my_timeStamp_column detection_delay: period: week count: 1 Add test models: - name: this_is_a_model tests: - elementary.volume_anomalies: training_period: period: day count: 30
o
Hi @Blair Mo, looks like an indentation issue to me, care to share your
yml
file? you can do so privately if you prefer
b
It is good when we add all elementary parameters