Did I find the right examples for you? yes no

All Samples(5)  |  Call(5)  |  Derive(0)  |  Import(0)
Paginate responses to an operation.

The responses to some operations are too large for a single response.
When this happens, the service will indicate that there are more
results in its response.  This method handles the details of how
to detect when this happens and how to retrieve more results.

This method returns an iterator.  Each element in the iterator
is the result of an ``Operation.call`` call, so each element is
a tuple of (``http_response``, ``parsed_result``).

src/b/o/botocore-HEAD/tests/unit/test_paginate.py   botocore(Download)
        ]
        self.operation.call.side_effect = responses
        actual = list(self.paginator.paginate(None))
        self.assertEqual(
            self.operation.call.call_args_list,
        ]
        self.operation.call.side_effect = responses
        list(self.paginator.paginate(None))
        self.assertEqual(
            self.operation.call.call_args_list,
        ]
        self.operation.call.side_effect = responses
        list(self.paginator.paginate(None))
        self.assertEqual(
            self.operation.call.call_args_list,
             'NotResultKey': 'a',}
        ])
        pages = self.paginator.paginate(None)
        actual = pages.build_full_result()
        expected = {
             'Outer': 'v6', 'NextToken': 't3'},
        ])
        pages = self.paginator.paginate(None)
        actual = pages.build_full_result()
        self.assertEqual(pages.non_aggregate_part,