def update_feature(self): if self.is_virtual(): self.table.get_datastore().transform(self.name, compile_func_code(self.virtual_function_code)) self._discover()
def add_feature(self,name,type_name,function_code): self.get_datastore().transform(name, compile_func_code(function_code)) return self._load_feature(name, type_name, virtual=True, virtual_function_code=function_code)