from tadas.snowflake import tables from tadas.snowflake import client as snowflake_utils def delete_report_tables(report, model_config): with snowflake_utils.snowflake_connection() as conn: for table_type in tables.TABLE_TYPES: table_name = tables.get_table_name(table_type, model_config.MODEL_VERSION, report) snowflake_utils.drop_table(table_name, conn)