The startswith method was called on a tuple rather than the key of the tuple. This fix changes the code to only check the key value, which contains the configuration keys for the model.
This has been tested locally and works as expected - runs without error and builds a model in BigQuery.
Pull Request to fix the issue: https://github.com/kristeligt-dagblad/dbt_ml/issues/38
The
startswith
method was called on a tuple rather than the key of the tuple. This fix changes the code to only check the key value, which contains the configuration keys for the model.This has been tested locally and works as expected - runs without error and builds a model in BigQuery.