Skip to content

Commit

Permalink
Clean up eventstream comments
Browse files Browse the repository at this point in the history
Removes some now-unnecessary comments and print statements.

Co-authored-by: Nate Prewitt <[email protected]>
  • Loading branch information
JordonPhillips and nateprewitt committed Sep 13, 2024
1 parent fa52402 commit 29755b8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,6 @@ def __init__(
self._payload_serializer = payload_serializer

def before(self, schema: "Schema") -> ShapeSerializer:
print(f"FOUND TRAITS: {schema.traits}")
if EVENT_HEADER_TRAIT in schema.traits:
return self._header_serializer
return self._payload_serializer
Expand Down
2 changes: 0 additions & 2 deletions python-packages/aws-event-stream/tests/unit/test_events.py
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,6 @@
ERROR_EVENT_MESSAGE,
]

# TODO: botocore isn't passing this, fix there
CORRUPTED_HEADERS_LENGTH = (
(
b"\x00\x00\x00\x3d" # total length
Expand All @@ -424,7 +423,6 @@
ChecksumMismatch,
)

# TODO: botocore isn't passing this, fix there
CORRUPTED_LENGTH = (
(
b"\x01\x00\x00\x1d" # total length
Expand Down

0 comments on commit 29755b8

Please sign in to comment.