Skip to content

Commit c21f378

Browse files
Remove output stream protocol
1 parent c38c80d commit c21f378

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/smithy-core/src/smithy_core/aio/eventstream.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
22
# SPDX-License-Identifier: Apache-2.0
33
from asyncio import Future
4-
from typing import Any, Protocol, Self
4+
from typing import Any, Self
55

66
from ..deserializers import DeserializeableShape
77
from ..serializers import SerializeableShape
@@ -216,7 +216,7 @@ async def __aexit__(self, exc_type: Any, exc_value: Any, traceback: Any):
216216
await self.close()
217217

218218

219-
class OutputEventStream[OE: DeserializeableShape, O: DeserializeableShape](Protocol):
219+
class OutputEventStream[OE: DeserializeableShape, O: DeserializeableShape]:
220220
"""An event stream that streams messages from the service.
221221
222222
To ensure that streams are closed upon exiting, this class may be used as an async

0 commit comments

Comments
 (0)