Example #1
0
 def __init__(self):
     if ProjectQBackend.Hosts.__instance is not None:
         raise Exception("Call get instance to get this class!")
     ProjectQBackend.Hosts.__instance = self
     SafeDict.__init__(self)
Example #2
0
 def __init__(self):
     if QuTipBackend.EntanglementIDs.__instance is not None:
         raise Exception("Call get instance to get this class!")
     QuTipBackend.EntanglementIDs.__instance = self
     SafeDict.__init__(self)
Example #3
0
 def __init__(self):
     if CQCBackend.CQCConnections.__instance is not None:
         raise Exception("Call get instance to get this class!")
     CQCBackend.CQCConnections.__instance = self
     SafeDict.__init__(self)