Skip to content

Add budget support for dataset and image creation#306

Merged
epwalsh merged 2 commits into
mainfrom
fz/update-beakerpy--optional-budget-for-dataset-and-image
Oct 10, 2025
Merged

Add budget support for dataset and image creation#306
epwalsh merged 2 commits into
mainfrom
fz/update-beakerpy--optional-budget-for-dataset-and-image

Conversation

@Mosqidiot

@Mosqidiot Mosqidiot commented Oct 10, 2025

Copy link
Copy Markdown
Contributor

Summary

This PR adds support for creating Beaker datasets and images with an optional flag in the Beaker Python client (V1).

Testing

In this PR two integration tests are added to verify the image and dataset creation with a budget flag works as expected. There are existing integration test for image and dataset creation without the budget. If they pass then we prove the backward compatibility is good.

@Mosqidiot Mosqidiot added the python Pull requests that update Python code label Oct 10, 2025
@Mosqidiot
Mosqidiot requested a review from epwalsh October 10, 2025 22:27
Comment thread beaker/services/dataset.py
Comment thread beaker/services/image.py
image_id = self.request(
"images",
method="POST",
data=ImageSpec(

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Same question here

@epwalsh
epwalsh merged commit 38fbd83 into main Oct 10, 2025
17 checks passed
@epwalsh
epwalsh deleted the fz/update-beakerpy--optional-budget-for-dataset-and-image branch October 10, 2025 23:50
@github-actions

Copy link
Copy Markdown

This PR has been released in v1.38.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants