ant

    return sync(create_or_update_tenant(tenant_id, config, user_context))


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

    from supertokens_python.recipe.multitenancy.asyncio import delete_tenant

    return sync(delete_tenant(tenant_id, user_context))


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

    from supertokens_p