mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 19:24:27 +00:00
mypy linting fixes 2
This commit is contained in:
parent
2c7ffb7c75
commit
bb70a55c91
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