def end(self): McObject.disable_group(self.name) self.met.end()
def create(cls, config): name = config["name"] factory = cls.factories(name) McObject.enable_group(name) yield factory.entry(config) yield factory.met