mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-01 07:03:02 +00:00
test(e2e): type the Codex self-test event helper as a Mapping
This commit is contained in:
parent
47afa5759b
commit
a249b6a40d
1 changed files with 2 additions and 1 deletions
|
|
@ -4,6 +4,7 @@ import configparser
|
|||
import json
|
||||
import re
|
||||
import shlex
|
||||
from collections.abc import Mapping
|
||||
from pathlib import Path
|
||||
from typing import Final
|
||||
|
||||
|
|
@ -27,7 +28,7 @@ ROUND_TRIP: Final = "\n".join(
|
|||
)
|
||||
|
||||
|
||||
def _line(event: dict[str, object]) -> str:
|
||||
def _line(event: Mapping[str, object]) -> str:
|
||||
return json.dumps(event)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue