@sessioned
    def get_stream_by_id(self, stream_id, session=None):
        try:
            s = session.query(models.Stream). \
                filter(models.Stream.id == stream_id).one()
        except NoResultFound:
            raise NoSuchStreamError(stream_id % "No stream found with id %s!")
        return s
dataset/ETHPy150Open openstack/stacktach-winchester/winchester/db/interface.py/DBInterface.get_stream_by_id/swapped operands of `%`