dossier/store/store.py
def get(self, content_id):
        '''Retrieve a feature collection from the store.  This is the same as
        get_many([content_id])

        If the feature collection does not exist ``None`` is
        returned.

        :type content_id: str
        :rtype: :class:`dossier.fc.FeatureCollection`

        '''
        rows = list(self.kvl.get(self.TABLE, (content_id,)))
        assert len(rows) < 2, 'more than one FC with the same content id'
        if len(rows) == 0 or rows[0][1] is None:
            return None
        return fc_loads(rows[0][1])
def get(self, content_id):
        '''Retrieve a feature collection from the store.  This is the same as
        get_many([content_id])

        If the feature collection does not exist ``None`` is
        returned.

        :type content_id: str
        :rtype: :class:`dossier.fc.FeatureCollection`

        '''
        rows = list(self.kvl.get(self.TABLE, (content_id,)))
        assert len(rows) < 2, 'more than one FC with the same content id'
        if len(rows) == 0 or rows[0][1] is None:
            return None
        return fc_loads(rows[0][1])
def get ( self , content_id ) : rows = list ( self . kvl . get ( self . TABLE , ( content_id , ) ) ) assert len ( rows ) < 2 , 'more than one FC with the same content id' if len ( rows ) == 0 or rows [ 0 ] [ 1 ] is None : return None return fc_loads ( rows [ 0 ] [ 1 ] )
Retrieve a feature collection from the store.  This is the same as
        get_many([content_id])

        If the feature collection does not exist ``None`` is
        returned.

        :type content_id: str
        :rtype: :class:`dossier.fc.FeatureCollection`
Retrieve a feature collection from the store . This is the same as get_many ( [ content_id ] )