code: def by_label(self, label):
          
          # don't use .first(), so that MultipleResultsFound can be raised
          try:
              return self.filter_by(label=label).one()
          except sa.orm.exc.NoResultFound:
              return None
docs: Like `.get()`, but by label.