def release_by_id(release_id, session=None):
 return session.query(Release).filter((Release.id == release_id)).one()

def release_by_id ( release_id , session = None ) : return session . query ( Release ) . filter ( ( Release . id == release_id ) ) . one ( )
return an instance of a release by querying its id .