ython.recipe.multitenancy.asyncio import get_tenant

    return sync(get_tenant(tenant_id, user_context))


def list_all_tenants(user_context: Optional[Dict[str, Any]] = None):
    if user_context is None:
        user_context = {}

    from supertokens_python.recipe.multitenancy.asyncio import list_all_tenants

    return sync(list_all_tenants(user_context))


def create_or_update_third_party_config(
    tenant_id: str,
    config: ProviderConfig,
    skip_validation: Optional[bool] = None,
    user_contex