Skip to content

Commit 26bbb6b

Browse files
committed
Use Final
1 parent 4b6ba2c commit 26bbb6b

File tree

1 file changed

+2
-2
lines changed
  • packages/smithy-aws-core/src/smithy_aws_core/aio

1 file changed

+2
-2
lines changed

packages/smithy-aws-core/src/smithy_aws_core/aio/protocols.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from typing import Literal
1+
from typing import Final
22

33
from smithy_aws_core.traits import RestJson1Trait
44
from smithy_http.aio.protocols import HttpBindingClientProtocol
@@ -12,7 +12,7 @@ class RestJsonClientProtocol(HttpBindingClientProtocol):
1212

1313
_id: ShapeID = RestJson1Trait.id
1414
_codec: JSONCodec = JSONCodec()
15-
_contentType: Literal["application/json"] = "application/json"
15+
_contentType: Final = "application/json"
1616

1717
@property
1818
def id(self) -> ShapeID:

0 commit comments

Comments
 (0)