dossier/store/store.py
def get_many(self, content_id_list):
        '''Yield (content_id, data) tuples for ids in list.

        As with :meth:`get`, if a content_id in the list is missing,
        then it is yielded with a data value of `None`.

        :type content_id_list: list<str>
        :rtype: yields tuple(str, :class:`dossier.fc.FeatureCollection`)

        '''
        content_id_keys = [tuplify(x) for x in content_id_list]
        for row in self.kvl.get(self.TABLE, *content_id_keys):
            content_id = row[0][0]
            data = row[1]
            if data is not None:
                data = fc_loads(data)
            yield (content_id, data)
def get_many(self, content_id_list):
        '''Yield (content_id, data) tuples for ids in list.

        As with :meth:`get`, if a content_id in the list is missing,
        then it is yielded with a data value of `None`.

        :type content_id_list: list<str>
        :rtype: yields tuple(str, :class:`dossier.fc.FeatureCollection`)

        '''
        content_id_keys = [tuplify(x) for x in content_id_list]
        for row in self.kvl.get(self.TABLE, *content_id_keys):
            content_id = row[0][0]
            data = row[1]
            if data is not None:
                data = fc_loads(data)
            yield (content_id, data)
def get_many ( self , content_id_list ) : content_id_keys = [ tuplify ( x ) for x in content_id_list ] for row in self . kvl . get ( self . TABLE , * content_id_keys ) : content_id = row [ 0 ] [ 0 ] data = row [ 1 ] if data is not None : data = fc_loads ( data ) yield ( content_id , data )
Yield (content_id, data) tuples for ids in list.

        As with :meth:`get`, if a content_id in the list is missing,
        then it is yielded with a data value of `None`.

        :type content_id_list: list<str>
        :rtype: yields tuple(str, :class:`dossier.fc.FeatureCollection`)
Yield ( content_id data ) tuples for ids in list .