chrisstoreclient/client.py
def _get_collection_from_response(response):
        """
        Internal method to get the collection object from a response object.
        """
        content = json.loads(response.text)
        total = content['collection'].pop('total', None)
        collection = Collection.from_json(json.dumps(content))
        if collection.error:
            raise StoreRequestException(collection.error.message)
        if total is not None:
            collection.total = total
        return collection

        Internal method to get the collection object from a response object.
        
Internal method to get the collection object from a response object.
Internal method to get the collection object from a response object .
def _get_collection_from_response(response):
        content = json.loads(response.text)
        total = content['collection'].pop('total', None)
        collection = Collection.from_json(json.dumps(content))
        if collection.error:
            raise StoreRequestException(collection.error.message)
        if total is not None:
            collection.total = total
        return collection
def _get_collection_from_response ( response ) : content = json . loads ( response . text ) total = content [ 'collection' ] . pop ( 'total' , None ) collection = Collection . from_json ( json . dumps ( content ) ) if collection . error : raise StoreRequestException ( collection . error . message ) if total is not None : collection . total = total return collection
Internal method to get the collection object from a response object.
Internal method to get the collection object from a response object .
"""
        Internal method to get the collection object from a response object.
        """
response