ref: Python Interpreter component (#8307)

Update python_repl_core.py
This commit is contained in:
Edwin Jose 2025-05-30 19:13:00 -04:00 • committed by GitHub
commit 5e9994bf85
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -8,12 +8,9 @@ from langflow.schema import Data
class PythonREPLComponent(Component): class PythonREPLComponent(Component):
display_name = "Python REPL" display_name = "Python Interpreter"
description = ( description = "Run Python code with optional imports. Use print() to see the output."
"A Python code executor that lets you run Python code with specific imported modules. " icon = "square-terminal"
"Remember to always use print() to see your results. Example: print(df.head())"
)
icon = "Python"
inputs = [ inputs = [
StrInput( StrInput(