Skip to content

exclude_archived param added to batches retrieval #74

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

Merged
merged 5 commits into from
May 31, 2023

Conversation

rodsca
Copy link
Contributor

@rodsca rodsca commented May 23, 2023

Improvements

Added an exclude_archived additional filter to remove archived batches on retrieval.

@rodsca rodsca changed the title exclude_archived option added to batches retrieval v2.14.0.2 May 24, 2023
@rodsca rodsca changed the title v2.14.0.2 exclude_archived param added to batches retrieval May 24, 2023
@rodsca rodsca requested a review from fatihkurtoglu May 24, 2023 17:46
Copy link
Contributor

@fatihkurtoglu fatihkurtoglu left a comment

Choose a reason for hiding this comment

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

Lgtm, left a nit comment.

Thanks for extending the batches retrieval parameters.

Two points I want to add:

  1. exclude_archived is not documented on our API docs, we can add it to the list of params on this page: https://docs.scale.com/reference/batch-list
  2. In the same API ref doc, we also have audited_after and audited_before params too. We can also add those two options to the list of args we support for get_batches method, it will be additional few lines only. Those attributes were also mentioned in issue client.get_batches() missing query parameters #60 too.

rodsca and others added 2 commits May 30, 2023 18:00
Co-authored-by: Fatih Kurtoglu <fatih.kurtoglu@scale.com>
Co-authored-by: Fatih Kurtoglu <fatih.kurtoglu@scale.com>
@rodsca rodsca merged commit 65bfed6 into master May 31, 2023
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.

4 participants