MCPcopy Index your code
hub / github.com/aws/aws-cli / __next__

Method __next__

awscli/botocore/response.py:102–107  ·  view source on GitHub ↗

Return the next 1k chunk from the raw stream.

(self)

Source from the content-addressed store, hash-verified

100 return self.iter_chunks(self._DEFAULT_CHUNK_SIZE)
101
102 def __next__(self):
103 """Return the next 1k chunk from the raw stream."""
104 current_chunk = self.read(self._DEFAULT_CHUNK_SIZE)
105 if current_chunk:
106 return current_chunk
107 raise StopIteration()
108
109 next = __next__
110

Callers 1

nextMethod · 0.45

Calls 1

readMethod · 0.95

Tested by

no test coverage detected