def ex_get_zone_by_domain(self, domain):
        path = API_ROOT + 'zones/%s.xml' % (domain)
        self.connection.set_context({'resource': 'zone', 'id': domain})
        data = self.connection.request(path).object
        zone = self._to_zone(elem=data)
        return zone
Open the context.
dataset/ETHPy150Open apache/libcloud/libcloud/dns/drivers/zerigo.py/ZerigoDNSDriver.ex_get_zone_by_domain--crossover with--dataset/ETHPy150Open mwaskom/seaborn/seaborn/palettes.py/_ColorPalette.__enter__