Skip to content

Python Function components do not accept dynamic inputs (Langflow Desktop v1.3.2.1) #7531

Open
@sophiamoa

Description

@sophiamoa

Bug Description

I'm using Langflow Desktop version 1.3.2.1 and encountered a critical bug: the Python Function component (and other Python execution variants) do not accept dynamic inputs.

Image Image

Reproduction

Steps to reproduce the behavior:

  1. Add a Parse JSON component and a Python Function component.
  2. Connect the output of Parse JSON to the input of Python Function.
  3. Add a simple function like:
    def my_func(data):
    return data
  4. Run the flow. The input is not passed to the function.

Expected behavior

Expected behavior: The input should be passed to the function argument.

Actual behavior: The function runs with no input data, making dynamic processing impossible.

Who can help?

No response

Operating System

macOS 15.3.1 (24D70)

Langflow Version

1.3.2.1

Python Version

3.12

Screenshot

No response

Flow File

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions