mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-08 22:21:35 +00:00
fix(proxy): add missing timezone import
The proxy_server.py uses timezone.utc in several places but timezone was not imported from datetime module, causing mypy type errors. Lines affected: 8227, 8229, 8237, 8239, 8276, 8283
This commit is contained in:
parent
3f1bda57e2
commit
63e40b273f
1 changed files with 1 additions and 1 deletions
|
|
@ -11,7 +11,7 @@ import sys
|
|||
import time
|
||||
import traceback
|
||||
import warnings
|
||||
from datetime import datetime, timedelta
|
||||
from datetime import datetime, timedelta, timezone
|
||||
import enum
|
||||
from typing import (
|
||||
TYPE_CHECKING,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue