Skip to content

Commit 97aef6e

Browse files
committed
Fix enum equality
1 parent 3b35a4f commit 97aef6e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • packages/smithy-http/src/smithy_http/aio

packages/smithy-http/src/smithy_http/aio/crt.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ async def send(
178178
connection = await self._get_connection(request.destination)
179179

180180
# request_body_generator is HTTP/2-only in CRT; HTTP/1.1 must use body_stream
181-
if connection.version == crt_http.HttpVersion.Http2:
181+
if connection.version is crt_http.HttpVersion.Http2:
182182
crt_stream = connection.request(
183183
crt_request,
184184
request_body_generator=self._create_body_generator(request.body),

0 commit comments

Comments
 (0)