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

Method _create_default_request

awscli/botocore/serialize.py:123–134  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

121 raise NotImplementedError("serialize_to_request")
122
123 def _create_default_request(self):
124 # Creates a boilerplate default request dict that subclasses
125 # can use as a starting point.
126 serialized = {
127 'url_path': '/',
128 'query_string': '',
129 'method': self.DEFAULT_METHOD,
130 'headers': {},
131 # An empty body is represented as an empty byte string.
132 'body': b'',
133 }
134 return serialized
135
136 # Some extra utility methods subclasses can use.
137

Callers 4

serialize_to_requestMethod · 0.80
serialize_to_requestMethod · 0.80
serialize_to_requestMethod · 0.80
serialize_to_requestMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected