Skip to content

Commit f9ae931

Browse files
fix(proxy/utils.py): fix linting error
1 parent ec9cdf7 commit f9ae931

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

litellm/proxy/utils.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3575,7 +3575,7 @@ def handle_exception_on_proxy(e: Exception) -> ProxyException:
35753575
)
35763576

35773577

3578-
def _premium_user_check(feature:str=None):
3578+
def _premium_user_check(feature: Optional[str] = None):
35793579
"""
35803580
Raises an HTTPException if the user is not a premium user
35813581
"""
@@ -3589,9 +3589,7 @@ def _premium_user_check(feature:str=None):
35893589
if not premium_user:
35903590
raise HTTPException(
35913591
status_code=403,
3592-
detail={
3593-
"error": detail_msg
3594-
},
3592+
detail={"error": detail_msg},
35953593
)
35963594

35973595

0 commit comments

Comments
 (0)