def t_pipe(): output_path = current_task().get_target( "outputs", config=TargetConfig(folder=True) ) output_path.mkdir() v = calc_value(output_path=os.path.join(str(output_path), "f1")) return v
def run(self): # current config t = current_task() logging.info("Config : %s", t.config) logging.info("Ratio : %s", self.ratio)
def calculate_alpha(alpha: int = 0.5): return current_task().task_env.name # The environment of the task
def calculate_alpha(alpha: int = 0.5): return current_task().task_version
def wire_value(value=1.0): # type: (float)-> Any c_v = calc_value(value) current_task().calculated = use_value(c_v) return None