File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
python/example_code/kinesis/streams Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -130,8 +130,10 @@ def get_records(self, max_records):
130130 """
131131 Gets records from the stream. This function is a generator that first gets
132132 a shard iterator for the stream, then uses the shard iterator to get records
133- in batches from the stream. Each batch of records is yielded back to the
134- caller until the specified maximum number of records has been retrieved.
133+ in batches from the stream. The shard iterator can be accessed through the
134+ 'details' property, which is populated using the 'describe' function of this class.
135+ Each batch of records is yielded back to the caller until the specified
136+ maximum number of records has been retrieved.
135137
136138 :param max_records: The maximum number of records to retrieve.
137139 :return: Yields the current batch of retrieved records.
You can’t perform that action at this time.
0 commit comments