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:
Lucas Democh 2025-05-09 18:36:19 -03:00 • committed by GitHub
commit 06a74bdffd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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,
),