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

Problem in the remove_example_flows query parameter in the /api/v1/flows/ API Route #3918

Closed
joaoguilhermeS opened this issue Sep 25, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@joaoguilhermeS
Copy link
Collaborator

Bug Description

The query parameter remove_example_flows seems not be working in the /api/v1/flows/ API Route, which does not let the user to remove the example flows when listing it flows. This came from a discord discussion discord_link.

Reproduction

  1. Launch Langflow
  2. make a GET request to http://localhost:7860/api/v1/flows/?remove_example_flows=false
  3. check http://localhost:7860/api/v1/flows/?remove_example_flows=true
  4. Check that both returns the same Flows.

Expected behavior

It is expected that when doing http://localhost:7860/api/v1/flows/?remove_example_flows=true, the API just returns Flows that are not default example ones.

Who can help?

No response

Operating System

Ubuntu Linux 22.04

Langflow Version

1.0.18

Python Version

3.12

Screenshot

image

Flow File

No response

@Cristhianzl
Copy link
Member

hi @joaoguilhermeS

please check the following PR with the fix: #3967

thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants