Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: pythonfunction component execution #3747

Merged
merged 9 commits into from
Sep 10, 2024
Merged

Conversation

lucaseduoli
Copy link
Collaborator

This pull request adds the CodeInput class to the types and fixes the execution and return of data or message in the PythonFunction class.

@lucaseduoli lucaseduoli self-assigned this Sep 10, 2024
@lucaseduoli lucaseduoli enabled auto-merge (squash) September 10, 2024 13:53
@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. bug Something isn't working python Pull requests that update Python code labels Sep 10, 2024
@github-actions github-actions bot added bug Something isn't working and removed bug Something isn't working labels Sep 10, 2024
Copy link

This pull request is automatically being deployed by Amplify Hosting (learn more).

Access this pull request here: https://pr-3747.dmtpw4p5recq1.amplifyapp.com

@anovazzi1 anovazzi1 self-requested a review September 10, 2024 18:00
Copy link
Contributor

@anovazzi1 anovazzi1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Sep 10, 2024
@lucaseduoli lucaseduoli merged commit 0b1198e into main Sep 10, 2024
29 checks passed
@lucaseduoli lucaseduoli deleted the fix/python_function branch September 10, 2024 19:17
diogocabral pushed a commit to headlinevc/langflow that referenced this pull request Nov 26, 2024
* Added CodeInput to types

* Fixed PythonFunction to execute and return data or message

* [autofix.ci] apply automated fixes

* Added callable to outputs of pythonfunction

* [autofix.ci] apply automated fixes

* Updated function and tests

* Fixed lint issues

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working lgtm This PR has been approved by a maintainer python Pull requests that update Python code size:L This PR changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants