Skip to content

Commit 84bb335

Browse files
committed
address comments
1 parent 6e6818d commit 84bb335

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎src/inference_endpoint/endpoint_client/adapter_protocol.py‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def encode_query(query: Query) -> bytes:
4646
Returns:
4747
Encoded request bytes ready for HTTP POST
4848
"""
49-
...
49+
raise NotImplementedError("encode_query not implemented")
5050

5151
@staticmethod
5252
@abstractmethod
@@ -61,7 +61,7 @@ def decode_response(response_bytes: bytes, query_id: str) -> QueryResult:
6161
Returns:
6262
QueryResult with extracted content
6363
"""
64-
...
64+
raise NotImplementedError("decode_response not implemented")
6565

6666
@staticmethod
6767
@abstractmethod
@@ -75,4 +75,4 @@ def decode_sse_message(json_bytes: bytes) -> str:
7575
Returns:
7676
Content string from the SSE message
7777
"""
78-
...
78+
raise NotImplementedError("decode_sse_message not implemented")

0 commit comments

Comments
 (0)