mirror of
https://git.mirrors.martin98.com/https://github.com/infiniflow/ragflow.git
synced 2025-08-12 07:09:01 +08:00
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)
This commit is contained in:
parent
d02a2b131a
commit
9b4c2868bd
@ -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…
x
Reference in New Issue
Block a user