(contactKey, date)
return None
Returns picture corresponding to given ID.
Returns picture corresponding to given ID.
Returns picture corresponding to given ID .
def get_contact_picture(contactKey, date):
        '''
        Returns picture corresponding to given ID.
        '''
        pictures = Picture.view("pictures/contact", key=[contactKey, date])

        if pictures:
            return pictures.first()

        return None
def get_contact_picture ( contactKey , date ) : pictures = Picture . view ( "pictures/contact" , key = [ contactKey , date ] ) if pictures : return pictures . first ( ) return None