mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-11 22:51:28 +00:00
style(cloudflare): import Coroutine from collections.abc
ruff's UP035 flags the typing re-export; the module's own base does the same. Signed-off-by: Vineeth Sai <vineethsai4444@gmail.com>
This commit is contained in:
parent
e24b9ba7b0
commit
f73feba279
1 changed files with 3 additions and 2 deletions
|
|
@ -1,4 +1,5 @@
|
|||
from typing import Any, Coroutine, Final, Literal, overload
|
||||
from collections.abc import Coroutine
|
||||
from typing import Any, Final, Literal, overload
|
||||
|
||||
import httpx
|
||||
|
||||
|
|
@ -99,7 +100,7 @@ class CloudflareChatConfig(OpenAIGPTConfig):
|
|||
|
||||
@overload
|
||||
def _transform_messages( # mutable-ok: base signature
|
||||
self, messages: list[AllMessageValues], model: str, is_async: Literal[False] = False # mutable-ok: base signature
|
||||
self, messages: list[AllMessageValues], model: str, is_async: Literal[False] = False # mutable-ok: base sig
|
||||
) -> list[AllMessageValues]: ... # mutable-ok: base signature
|
||||
|
||||
def _transform_messages( # mutable-ok: base signature
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue