def _image_member_get(context, memb_id, session):
 query = session.query(models.ImageMember)
 query = query.filter_by(id=memb_id)
 return query.one()

def _image_member_get ( context , memb_id , session ) : query = session . query ( models . ImageMember ) query = query . filter_by ( id = memb_id ) return query . one ( )
fetch an imagemember entity by id .