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

Add new flows pagination endpoint #13846

Merged
merged 5 commits into from
Jun 7, 2024
Merged

Add new flows pagination endpoint #13846

merged 5 commits into from
Jun 7, 2024

Conversation

pleek91
Copy link
Contributor

@pleek91 pleek91 commented Jun 6, 2024

Description

Continuing on the theme of #13808

This new flows/paginate endpoint returns a dictionary like

{
  "results": [...],
  "limit": 200, // returns whatever limit was passed as part of the request or what default limit was used
  "page": 1,
  "pages": 10,
  "count": 100,
}

@pleek91 pleek91 requested review from a team and zangell44 as code owners June 6, 2024 21:19
@pleek91 pleek91 added the enhancement An improvement of an existing feature label Jun 6, 2024
Copy link
Contributor

@zzstoatzz zzstoatzz left a comment

Choose a reason for hiding this comment

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

makes sense to me! just 2 small comments

src/prefect/server/api/flows.py Outdated Show resolved Hide resolved
src/prefect/server/api/flows.py Outdated Show resolved Hide resolved
@pleek91 pleek91 merged commit 239701f into main Jun 7, 2024
22 of 25 checks passed
@pleek91 pleek91 deleted the flow-run-pagination-ui branch June 7, 2024 15:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement An improvement of an existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants