We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent faf4cde commit cc103efCopy full SHA for cc103ef
1 file changed
tests/lib/test_payload_codec.py
@@ -1,6 +1,6 @@
1
from __future__ import annotations
2
3
-from typing import Any
+from typing import Any, override
4
from unittest.mock import AsyncMock, patch
5
6
import pytest
@@ -10,17 +10,21 @@
10
11
12
class _NoopCodec(PayloadCodec):
13
+ @override
14
async def encode(self, payloads):
15
return list(payloads)
16
17
18
async def decode(self, payloads):
19
20
21
22
class _FakeOpenAIPlugin(ClientPlugin):
23
24
def configure_client(self, config):
25
return config
26
27
28
async def connect_service_client(self, config, next):
29
return await next(config)
30
0 commit comments