File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
packages/smithy-core/src/smithy_core/aio/interfaces Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 3
3
from collections .abc import AsyncIterable
4
4
from typing import Protocol , runtime_checkable , TYPE_CHECKING , Any
5
5
6
- from ...interfaces import URI , Endpoint
6
+ from ...interfaces import URI , Endpoint , TypedProperties
7
7
from ...interfaces import StreamingBlob as SyncStreamingBlob
8
8
9
9
@@ -93,7 +93,7 @@ def serialize_request[
93
93
operation : "APIOperation[OperationInput, OperationOutput]" ,
94
94
input : OperationInput ,
95
95
endpoint : URI ,
96
- context : dict [ str , Any ] ,
96
+ context : TypedProperties ,
97
97
) -> I :
98
98
"""Serialize an operation input into a transport request.
99
99
@@ -127,7 +127,7 @@ async def deserialize_response[
127
127
request : I ,
128
128
response : O ,
129
129
error_registry : Any , # TODO: add error registry
130
- context : dict [ str , Any ], # TODO: replace with a typed context bag
130
+ context : TypedProperties ,
131
131
) -> OperationOutput :
132
132
"""Deserializes the output from the tranport response or throws an exception.
133
133
You can’t perform that action at this time.
0 commit comments