def get_object(self, name):
     if name == 'global':
         # This avoids name resolution for 'global'
         pycl_object = DictBasedObjectManager.get_object(self, '')
         pycl_object.name = name
     else:
         pycl_object = DictBasedObjectManager.get_object(self, name)
     return pycl_object
 def __init__(self, qconf_executor):
     DictBasedObjectManager.__init__(self, qconf_executor)
Пример #3
0
 def __init__(self, qrstat_executor, qrsub_executor, qrdel_executor):
     DictBasedObjectManager.__init__(self, qrstat_executor)
 def list_objects(self):
     name_list = DictBasedObjectManager.list_objects(self)
     name_list.append('global')
     return name_list