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
273678df41
commit
c55231bcd8
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue