瀏覽代碼

Fix set_output type hint (#3516)

### What problem does this PR solve?

Fix set_output type hint

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
tags/v0.14.0
Zhichang Yu 11 月之前
父節點
當前提交
9b4c2868bd
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      agent/component/base.py

+ 1
- 1
agent/component/base.py 查看文件

@@ -440,7 +440,7 @@ class ComponentBase(ABC):
setattr(self._param, self._param.output_var_name, None)
self._param.inputs = []

def set_output(self, v: pd.DataFrame):
def set_output(self, v: partial | pd.DataFrame):
setattr(self._param, self._param.output_var_name, v)

def get_input(self):

Loading…
取消
儲存