def get_role(self, rolename):
        try:
            return self._eqcache[rolename]
        except __HOLE__:
            pass
        eq = self._environment.get_equipment_with_role(self._session, rolename)
        eq = EquipmentRuntime(eq, rolename, self.logfile, self._session)
        self._eqcache[rolename] = eq
        return eq
dataset/ETHPy150Open kdart/pycopia/QA/pycopia/QA/config.py/EnvironmentRuntime.get_role