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

Method _requires_empty_body

awscli/botocore/serialize.py:857–862  ·  view source on GitHub ↗

Some protocols require a specific body to represent an empty payload. This allows subclasses to apply this conditionally.

(self, shape)

Source from the content-addressed store, hash-verified

855 pass
856
857 def _requires_empty_body(self, shape):
858 """
859 Some protocols require a specific body to represent an empty
860 payload. This allows subclasses to apply this conditionally.
861 """
862 return False
863
864 def _has_streaming_payload(self, payload, shape_members):
865 """Determine if payload is streaming (a blob or string)."""

Callers 1

_serialize_payloadMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected