mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 02:34:29 +00:00
mypy linting fixes 2
This commit is contained in:
parent
15b1da9dc8
commit
fbcb6d1c20
4 changed files with 14 additions and 14 deletions
|
@ -11,7 +11,7 @@ from threading import Thread
|
|||
from openai.error import Timeout
|
||||
|
||||
|
||||
def timeout(timeout_duration: float = None, exception_to_raise=Timeout):
|
||||
def timeout(timeout_duration: float = 0.0, exception_to_raise=Timeout):
|
||||
"""
|
||||
Wraps a function to raise the specified exception if execution time
|
||||
is greater than the specified timeout.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue