GoogleCloudPlatform / mlops-on-gcp

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bad argument name in "chicago_taxi_dag.py"

STRZGR opened this issue · comments

In "mlops-on-gcp/continuous_training/composer/solutions/chicago_taxi_dag.py", line 308

bq_check_rmse_query_op = BigQueryValueCheckOperator(     
                task_id="bq_value_check_rmse_task",
                sql=model_check_sql,
                pass_value=0,
                tolerence=0,
                use_legacy_sql=False,
                )

and "mlops-on-gcp/continuous_training/composer/labs/chicago_taxi_dag.py ", line 294

bq_check_rmse_query_op = BigQueryValueCheckOperator(      
                tolerence=0,     
                use_legacy_sql=False,
                #ADD YOUR CODE HERE
                )

the argument "tolerence" should be "tolerance".

Apache airflow documentation for 'bigquery_check_operator'.