Skip to content
This repository was archived by the owner on Mar 23, 2026. It is now read-only.

Commit 81df418

Browse files
committed
override blob behavior for CBOR
1 parent 6d8731f commit 81df418

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

  • localstack-core/localstack/aws/protocol

localstack-core/localstack/aws/protocol/parser.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1154,6 +1154,10 @@ def _parse_simple_and_float(self, stream: io.BufferedReader, additional_info: in
11541154
f"This indicates an unsupported simple type or an indefinite float value"
11551155
)
11561156

1157+
@_text_content
1158+
def _parse_blob(self, _, __, node: bytes, ___) -> bytes:
1159+
return node
1160+
11571161
# This helper method is intended for use when parsing indefinite length items.
11581162
# It does nothing if the next byte is not the break code. If the next byte is
11591163
# the break code, it advances past that byte and returns True so the calling

0 commit comments

Comments
 (0)