MCPcopy Create free account
hub / github.com/aws/aws-cli / _has_streaming_payload

Method _has_streaming_payload

awscli/botocore/serialize.py:864–869  ·  view source on GitHub ↗

Determine if payload is streaming (a blob or string).

(self, payload, shape_members)

Source from the content-addressed store, hash-verified

862 return False
863
864 def _has_streaming_payload(self, payload, shape_members):
865 """Determine if payload is streaming (a blob or string)."""
866 return payload is not None and shape_members[payload].type_name in [
867 'blob',
868 'string',
869 ]
870
871 def _encode_payload(self, body):
872 if isinstance(body, str):

Callers 2

_serialize_payloadMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected