Skip to content

Commit 714f662

Browse files
Empreiteiroautofix-ci[bot]edwinjosechittilappilly
authored andcommitted
feat: Add multiline input to python REPL component (langflow-ai#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 <[email protected]>
1 parent 4ea2a5d commit 714f662

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/backend/base/langflow/components/tools/python_repl_core.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ class PythonREPLComponent(Component):
2828
display_name="Python Code",
2929
info="The Python code to execute. Only modules specified in Global Imports can be used.",
3030
value="print('Hello, World!')",
31+
input_types=["Message"],
3132
tool_mode=True,
3233
required=True,
3334
),

0 commit comments

Comments
 (0)