File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
packages/smithy-core/src/smithy_core Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 11# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
22# SPDX-License-Identifier: Apache-2.0
33from copy import copy , deepcopy
4- from typing import Any , TypeVar
4+ from typing import TypeVar
5+
6+ from .types import TypedProperties
57
68Request = TypeVar ("Request" )
79Response = TypeVar ("Response" )
@@ -34,7 +36,7 @@ def __init__(
3436 self ._response = response
3537 self ._transport_request = transport_request
3638 self ._transport_response = transport_response
37- self ._properties : dict [ str , Any ] = {}
39+ self ._properties = TypedProperties ()
3840
3941 @property
4042 def request (self ) -> Request :
@@ -73,7 +75,7 @@ def transport_response(self) -> TransportResponse:
7375 return self ._transport_response
7476
7577 @property
76- def properties (self ) -> dict [ str , Any ] :
78+ def properties (self ) -> TypedProperties :
7779 """Retrieve the generic property bag.
7880
7981 These untyped properties will be made available to all other interceptors or
You can’t perform that action at this time.
0 commit comments