24
24
The caller should make sure that QuantumManager is a singleton.
28
28
from quantum_plugin_base import QuantumPluginBase
32
32
class QuantumManager(object):
34
34
def __init__(self,config=CONFIG_FILE):
35
35
self.configuration_file = CONFIG_FILE
41
37
plugin_klass = utils.import_class(plugin_location)
42
38
if not issubclass(plugin_klass, QuantumPluginBase):
43
39
raise Exception("Configured Quantum plug-in didn't pass compatibility test")