@internationalizeDocstring
    def news(self, irc, msg, args, channel, id):
        if not id:
            try:
                records = self.db.get(channel)
                items = [format('(#%i) %s', R.id, R.subject) for R in records]
                s = format(_('News for %s: %s'), channel, '; '.join(items))
                irc.reply(s)
            except dbi.NoRecordError:
                irc.reply(format(_('No news for %s.'), channel))
        else:
            try:
                record = self.db.get(channel, id)
                irc.reply(str(record))
            except dbi.NoRecordError as id:
                irc.errorInvalid(_('news item id'), id)
Render a single message with the given expression using
dataset/ETHPy150Open ProgVal/Limnoria/plugins/News/plugin.py/News.news--crossover with--dataset/ETHPy150Open ClusterHQ/eliot/eliot/tests/test_filter.py/EliotFilterTests.evaluateExpression