def show_by_id(show_id, session=None):
 return session.query(Series).filter((Series.id == show_id)).one()

def show_by_id ( show_id , session = None ) : return session . query ( Series ) . filter ( ( Series . id == show_id ) ) . one ( )
return an instance of a show by querying its id .