Пример #1
0
 def __init__(self, namespace=None, **kwargs):
     # Create fake DB for drivers
     self.fake_db = base.DB(self)
     if namespace:
         CRD.NAMESPACE = namespace
     CRD.ensure_crds_exist()
     super(CRDPersistence, self).__init__()
Пример #2
0
 def __init__(self, **kwargs):
     # Create fake DB for drivers
     self.fake_db = base.DB(self)
     CRD.ensure_crds_exist()
     super(CRDPersistence, self).__init__()
Пример #3
0
 def __init__(self):
     # Create fake DB for drivers
     self.fake_db = persistence_base.DB(self)
     super(MemoryPersistence, self).__init__()