We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec9cdf7 commit f9ae931Copy full SHA for f9ae931
litellm/proxy/utils.py
@@ -3575,7 +3575,7 @@ def handle_exception_on_proxy(e: Exception) -> ProxyException:
3575
)
3576
3577
3578
-def _premium_user_check(feature:str=None):
+def _premium_user_check(feature: Optional[str] = None):
3579
"""
3580
Raises an HTTPException if the user is not a premium user
3581
@@ -3589,9 +3589,7 @@ def _premium_user_check(feature:str=None):
3589
if not premium_user:
3590
raise HTTPException(
3591
status_code=403,
3592
- detail={
3593
- "error": detail_msg
3594
- },
+ detail={"error": detail_msg},
3595
3596
3597
0 commit comments