def get_container_list(self, account, container, marker=None,
                           end_marker=None, limit=None, prefix=None,
                           delimiter=None, full_listing=True):
        """
        Get a listing of objects for the container.

        :param account: account name for the container
        :param container: container name to get a listing for
        :param marker: marker query
        :param end_marker: end marker query
        :param limit: limit query
        :param prefix: prefix query
        :param delimeter: string to delimit the queries on
        :param full_listing: if True, return a full listing, else returns a max
                             of 10000 listings
        :returns: list of objects
        """
        if full_listing:
            rv = []
            listing = self.get_container_list(account, container, marker,
                                              end_marker, limit, prefix,
                                              delimiter, full_listing=False)
            while listing:
                rv.extend(listing)
                if not delimiter:
                    marker = listing[-1]['name']
                else:
                    marker = listing[-1].get('name', listing[-1].get('subdir'))
                listing = self.get_container_list(account, container, marker,
                                                  end_marker, limit, prefix,
                                                  delimiter,
                                                  full_listing=False)
            return rv
        path = '/v1/%s/%s' % (account, quote(container))
        qs = 'format=json'
        if marker:
            qs += '&marker=%s' % quote(marker)
        if end_marker:
            qs += '&end_marker=%s' % quote(end_marker)
        if limit:
            qs += '&limit=%d' % limit
        if prefix:
            qs += '&prefix=%s' % quote(prefix)
        if delimiter:
            qs += '&delimiter=%s' % quote(delimiter)
        path += '?%s' % qs
        req = swob.Request.blank(path, environ={'REQUEST_METHOD': 'GET'})
        resp = self._handle_request(req)
        if resp.status_int < 200 or resp.status_int >= 300:
            return []  # TODO: distinguish between 404 and empty container
        if resp.status_int == 204:
            return []
        return json_loads(resp.body)
dataset/ETHPy150Open notmyname/slogging/slogging/internal_proxy.py/InternalProxy.get_container_list/original