Skip to content

Comments

Add methods for retrieving batches for a project#368

Merged
shntu merged 7 commits intomainfrom
sb/add-batch-methods
Jun 5, 2025
Merged

Add methods for retrieving batches for a project#368
shntu merged 7 commits intomainfrom
sb/add-batch-methods

Conversation

@shntu
Copy link
Contributor

@shntu shntu commented Mar 25, 2025

Description

I talked to a user today who was trying to upload images via API, but was wondering if there was a way to retrieve upload batches via the Python SDK. It turns out there's no Python SDK function for fetching the batches, so I've implemented them in this PR with unit tests.

Type of change

Please delete options that are not relevant.

  • New feature (non-breaking change which adds functionality)

How has this change been tested, please provide a testcase or example of how you tested the change?

Added unit tests and tested the SDK locally.

Any specific deployment considerations

No

Docs

I'll update these docs if the PR looks good: https://docs.roboflow.com/api-reference/batches

@shntu shntu requested a review from joaomarcoscrs March 25, 2025 22:41
joaomarcoscrs
joaomarcoscrs previously approved these changes Mar 28, 2025
Copy link
Contributor

@joaomarcoscrs joaomarcoscrs left a comment

Choose a reason for hiding this comment

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

Code LGTM!

@CLAassistant
Copy link

CLAassistant commented Apr 15, 2025

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 2 committers have signed the CLA.

✅ shntu
❌ pre-commit-ci[bot]
You have signed the CLA already but the status is still pending? Let us recheck it.

@shntu shntu requested a review from tonylampada June 4, 2025 16:31
@shntu shntu merged commit 40e2241 into main Jun 5, 2025
16 checks passed
@shntu shntu deleted the sb/add-batch-methods branch June 5, 2025 16:22
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