feat: Add multiline input to python REPL component (#7712)
* Update python_repl_core.py Changed the input type to MultilineInput to allow code to be received from another component. * [autofix.ci] apply automated fixes * Update python_repl_core.py * Update python_repl_core.py --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: Edwin Jose <edwin.jose@datastax.com>
This commit is contained in:
parent
aa38112d9a
commit
06a74bdffd
1 changed files with 1 additions and 0 deletions
|
|
@ -28,6 +28,7 @@ class PythonREPLComponent(Component):
|
|||
display_name="Python Code",
|
||||
info="The Python code to execute. Only modules specified in Global Imports can be used.",
|
||||
value="print('Hello, World!')",
|
||||
input_types=["Message"],
|
||||
tool_mode=True,
|
||||
required=True,
|
||||
),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue