From 1c2b039d60ea8edc38083c99aff71bc43bda144d Mon Sep 17 00:00:00 2001 From: Ishaan Jaff Date: Sat, 26 Oct 2024 11:40:07 +0400 Subject: [PATCH] fix import --- litellm/proxy/auth/auth_checks.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/litellm/proxy/auth/auth_checks.py b/litellm/proxy/auth/auth_checks.py index 87a7b9ce274..5f1a1b3f960 100644 --- a/litellm/proxy/auth/auth_checks.py +++ b/litellm/proxy/auth/auth_checks.py @@ -32,7 +32,7 @@ from litellm.proxy.auth.route_checks import RouteChecks from litellm.proxy.utils import PrismaClient, ProxyLogging, log_to_opentelemetry from litellm.types.services import ServiceLoggerPayload, ServiceTypes -from .auth_checks_organization import organization_role_based_access_check +from .auth_checks_organization import OrganizationRoleBasedAccessChecks if TYPE_CHECKING: from opentelemetry.trace import Span as _Span @@ -208,7 +208,7 @@ def common_checks( # noqa: PLR0915 ) # 10 [OPTIONAL] Organization RBAC checks - organization_role_based_access_check( + OrganizationRoleBasedAccessChecks.organization_role_based_access_check( user_object=user_object, route=route, request_body=request_body )