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

[API] Support multiple state filter on runs api #5573

Merged
merged 5 commits into from
May 17, 2024

Conversation

roei3000b
Copy link
Member

Before vs pr we can filter runs by only one specific state.
In this pr we introduce option to filter by multiple states.

https://iguazio.atlassian.net/browse/ML-6450

Copy link
Member

@alonmr alonmr left a comment

Choose a reason for hiding this comment

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

Do we want to keep the state param forever? why not deprecate it?
To deprecate you need 2 things:

  1. Deprecate it from HTTPRunDB
  2. Deprecate the query param - see https://fastapi.tiangolo.com/reference/parameters/#fastapi.Query

@liranbg
Copy link
Member

liranbg commented May 17, 2024

Do we want to keep the state param forever? why not deprecate it? To deprecate you need 2 things:

  1. Deprecate it from HTTPRunDB
  2. Deprecate the query param - see https://fastapi.tiangolo.com/reference/parameters/#fastapi.Query

@roei3000b - this should be a followup pr

@liranbg liranbg merged commit f87f68f into mlrun:development May 17, 2024
11 checks passed
rokatyy pushed a commit to rokatyy/mlrun that referenced this pull request May 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants