def setup(self): self.c = cm_mesh() self.c.config() self.name = self.c.active()[0]
def mesh(provider="yaml"): if provider in ["yaml"]: return cm_mesh() elif provider in ["mongo"]: return cm_mongo()