fix: pythonfunction component execution (#3747)
* Added CodeInput to types * Fixed PythonFunction to execute and return data or message * [autofix.ci] apply automated fixes * Added callable to outputs of pythonfunction * [autofix.ci] apply automated fixes * Updated function and tests * Fixed lint issues * [autofix.ci] apply automated fixes --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
parent
bf640be53f
commit
0b1198efc4
7 changed files with 94 additions and 17 deletions
|
|
@ -16,6 +16,7 @@ from .inputs import (
|
|||
MultiselectInput,
|
||||
NestedDictInput,
|
||||
PromptInput,
|
||||
CodeInput,
|
||||
SecretStrInput,
|
||||
StrInput,
|
||||
TableInput,
|
||||
|
|
@ -36,6 +37,7 @@ __all__ = [
|
|||
"MultilineSecretInput",
|
||||
"NestedDictInput",
|
||||
"PromptInput",
|
||||
"CodeInput",
|
||||
"SecretStrInput",
|
||||
"StrInput",
|
||||
"MessageTextInput",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue