async def uc_client():
    """Fixture to create and yield an OSS Unity Catalog client."""
    config = Configuration()
    config.host = "http://localhost:8080/api/2.1/unity-catalog"
    uc_api_client = ApiClient(configuration=config)

    uc_client = UnitycatalogFunctionClient(api_client=uc_api_client)
    uc_client.uc.create_catalog(name=CATALOG)
    uc_client.uc.create_schema(name=SCHEMA, catalog_name=CATALOG)

    yield uc_client

    uc_client.close()
    uc_api_client.close()
Fixture to create and yield an OSS Unity Catalog client.
ai/integrations/litellm/tests/test_litellm_toolkit_oss.py