class_docstr: Extends the AdapterBackedSqlClient with the DDL methods necessary for test configuration and execution.
class_docstr_tok: ["Extends","the","AdapterBackedSqlClient","with","the","DDL","methods","necessary","for","test","configuration","and","execution","."]
docstr: Drop the given schema from the data warehouse. Only used in tests.
docstr_tok: ["Drop","the","given","schema","from","the","data","warehouse",".","Only","used","in","tests","."]
code: def drop_schema(self, schema_name: str, cascade: bool = True) -> None:
      """Drop the given schema from the data warehouse. Only used in tests."""
      self.execute(
          f"DROP SCHEMA IF EXISTS {schema_name}{' CASCADE' if cascade else ''}"
      )
  
file_path: metricflow/metricflow/test/fixtures/sql_clients/adapter_backed_ddl_client.py
imports: from __future__ import annotations
  import logging
  import time
  from typing import Optional
  import pandas
  from metricflow.cli.dbt_connectors.adapter_backed_client import AdapterBackedSqlClient
  from metricflow.dataflow.sql_table import SqlTable
  from metricflow.protocols.sql_client import SqlEngine
label_desc: Use image node_id 5 for calling the AdapterBackedDDLSqlClient obj's underlying member method code with example usage: obj.drop_schema(schema_name, cascade) without return types