def get_data(self, requests):
        """Return current status and review summary for all reviews.

        Args:
            requests (ListResource):
                A ListResource that contains data on all open/draft requests.

        Returns:
            list: A list whose elements are dicts of each request's statistics.
        """
        requests_stats = []
        request_stats = {}

        for request in requests.all_items:
            if request.draft:
                status = 'Draft'
            elif request.issue_open_count:
                status = 'Open Issues (%s)' % request.issue_open_count
            elif request.ship_it_count:
                status = 'Ship It! (%s)' % request.ship_it_count
            else:
                status = 'Pending'

            request_stats = {
                'status': status,
                'summary': 'r/%s - %s' % (request.id, request.summary)
            }

            if request.extra_data in 'local_branch':
                request_stats['branch'] = \
                    request.extra_data['local_branch']
            elif 'local_bookmark' in request.extra_data:
                request_stats['bookmark'] = \
                    request.extra_data['local_bookmark']

            requests_stats.append(request_stats)

        return requests_stats
dataset/ETHPy150Open reviewboard/rbtools/rbtools/commands/status.py/Status.get_data/swapped operands of `in`