mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-03 02:22:24 +00:00
fix: add type: ignore for mypy float() arg-type
This commit is contained in:
parent
860856c01a
commit
e74fd23d56
1 changed files with 1 additions and 1 deletions
|
|
@ -109,7 +109,7 @@ class TickerrLogger(CustomLogger):
|
|||
if isinstance(start_time, datetime) and isinstance(end_time, datetime):
|
||||
latency = round((end_time - start_time).total_seconds() * 1000)
|
||||
else:
|
||||
latency = round((float(end_time) - float(start_time)) * 1000)
|
||||
latency = round((float(end_time) - float(start_time)) * 1000) # type: ignore[arg-type]
|
||||
|
||||
payload = {
|
||||
k: v
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue