fix- refactor proxy place internal user endpoints in sep file

This commit is contained in:
Ishaan Jaff 2024-06-15 16:39:06 -07:00
parent f84941bdc0
commit b718e7ec79
5 changed files with 696 additions and 644 deletions

View file

@ -25,10 +25,7 @@ from litellm.proxy.utils import PrismaClient, ProxyLogging, hash_token
import pytest, logging, asyncio
import litellm, asyncio
from litellm.proxy.proxy_server import (
new_user,
user_api_key_auth,
user_update,
user_info,
block_user,
)
from litellm.proxy.spend_reporting_endpoints.spend_management_endpoints import (
@ -36,6 +33,11 @@ from litellm.proxy.spend_reporting_endpoints.spend_management_endpoints import (
spend_key_fn,
view_spend_logs,
)
from litellm.proxy.management_endpoints.internal_user_endpoints import (
new_user,
user_update,
user_info,
)
from litellm.proxy.management_endpoints.key_management_endpoints import (
delete_key_fn,
info_key_fn,