Skip to content

Commit b042aaa

Browse files
Update ClientProtocol to use TypedProperties
1 parent 306d217 commit b042aaa

File tree

1 file changed

+3
-3
lines changed
  • packages/smithy-core/src/smithy_core/aio/interfaces

1 file changed

+3
-3
lines changed

packages/smithy-core/src/smithy_core/aio/interfaces/__init__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from collections.abc import AsyncIterable
44
from typing import Protocol, runtime_checkable, TYPE_CHECKING, Any
55

6-
from ...interfaces import URI, Endpoint
6+
from ...interfaces import URI, Endpoint, TypedProperties
77
from ...interfaces import StreamingBlob as SyncStreamingBlob
88

99

@@ -93,7 +93,7 @@ def serialize_request[
9393
operation: "APIOperation[OperationInput, OperationOutput]",
9494
input: OperationInput,
9595
endpoint: URI,
96-
context: dict[str, Any],
96+
context: TypedProperties,
9797
) -> I:
9898
"""Serialize an operation input into a transport request.
9999
@@ -127,7 +127,7 @@ async def deserialize_response[
127127
request: I,
128128
response: O,
129129
error_registry: Any, # TODO: add error registry
130-
context: dict[str, Any], # TODO: replace with a typed context bag
130+
context: TypedProperties,
131131
) -> OperationOutput:
132132
"""Deserializes the output from the tranport response or throws an exception.
133133

0 commit comments

Comments
 (0)