@property
    def contest_slug(self):
        slug = "%s" % slugify(self.office)
        if self.district:
            slug += "-%s" % slugify(self.district.lstrip('0'))
        if self.primary_party:
            slug += "-%s" % slugify(self.primary_party)
        return slug
Run the event loop.
dataset/ETHPy150Open openelections/openelections-core/openelex/models.py/RawResult.contest_slug--crossover with--dataset/ETHPy150Open Shizmob/pydle/pydle/async.py/EventLoop.run