Releases: allenai/beaker-py
v0.8.2
What's new
Added π
- Implemented
Beaker.workspace.archive()
,.unarchive()
,.rename()
,.move()
, andcreate()
methods. - Implemented
Beaker.job.stop()
andBeaker.job.finalize()
methods. - Added
WorkspaceWriteError
for when you attempt to write to an archived workspace. Before this
would just result in anHTTPError
with a 403 status code.
Changed β οΈ
- Allowed using workspace name without organization when
Config.default_org
is set.
OtherwiseOrganizationNotSet
error is raised.
Commits
6b6ebd6 Add "See also" section to README
cb9493d Implement more Beaker.workspace
methods (#71)
518fe97 Add Beaker.job.stop()
and .finalize()
methods (#70)
ceb413c Bump actions/setup-python from 1 to 3 (#66)
646bb73 Bump actions/checkout from 2 to 3 (#67)
d279ab5 Add github-actions
to dependabot watch list, add config compatibility tests (#65)
v0.8.1
What's new
Added π
- Implemented
__str__
method onBeaker
client for debugging. - Improved documentation for
ExperimentSpec
,TaskSpec
, and other related data models,
and added new convenience constructors such asTaskSpec.new()
.
Changed β οΈ
- Changed default spec version to
v2
.
Fixed β
- Improved experiment spec validation in
Beaker.experiment.create()
to raise more specific error types.
Commits
cd24cb4 Improve spec docs and add convenience constructors
424f8c7 Improve experiment spec validation
8ff49cd Implement Beaker.__str__()
049761f Change default spec version of "v2"
v0.8.0
What's new
Changed β οΈ
Beaker.experiment.await_all()
now takes a variable number of experiments and returns a list
with the same length and order of the finished experiments.
Fixed β
- Fixed bug where
Beaker.experiment.create()
would fail with anHTTPError
if the image
in the spec doesn't exist. Now this will fail withImageNotFound
.
Commits
1842179 ensure Beaker.experiment.create()
raises ImageNotFound
for missing image
de3263c Make Beaker.experiment.await_all()
accept multiple experiments (#64)
39f20b6 fix link to quick start
v0.7.0
What's new
Changed β οΈ
- Made
org
parameter optional, defaulting toConfig.default_org
.
Fixed β
- Fixed the behavior of some methods that take a
workspace
parameter. Previously, if the workspace
didn't exist, it would be silently created. Now aWorkspaceNotFound
error is raised.
Commits
v0.6.1
What's new
Added π
- Added
Beaker.workspace.secrets()
. - Added
Beaker.secret.get()
. - Added
Beaker.secret.read()
. - Added
Beaker.secret.write()
. - Added
Beaker.secret.delete()
.
Commits
9cd52cc Bump version to v0.6.1 for release
e787e1a Merge pull request #62 from allenai/docker-image
ff4e534 Merge pull request #61 from allenai/secrets
9287da8 Add Beaker.secret
client
v0.6.0
What's new
Added π
- Added
Beaker.experiment.rename()
. - Added
Beaker.experiment.tasks()
. - Added
Beaker.experiment.results()
. - Added
Beaker.experiment.spec()
. - Added
Beaker.workspace.datasets()
. - Added
Beaker.workspace.experiments()
. - Added
Beaker.workspace.images()
. - Added
Beaker.workspace.list()
. - Added
Beaker.account.get()
.
Removed π
- Removed
Beaker.experiment.list()
. Please useBeaker.workspace.experiments()
instead.
Commits
3fcf75f Merge pull request #60 from allenai/workspace
978c6a1 Add Beaker.account.get()
method
6c035ea Add Beaker.workspace.list()
method
4f4a0c4 remove Beaker.experiment.list()
method
0084799 Add Beaker.workspace.images()
method
73700bb Add Beaker.workspace.experiments()
method
148e740 Add Beaker.workspace.datasets()
method
85e269a Merge pull request #59 from allenai/experiments
5f3eb09 improve docs
fdf66c7 Add Beaker.experiment.spec()
method
730159f Add Beaker.experiment.tasks()
method
4acd61a Add Beaker.experiment.results()
method
ee2c046 Add Beaker.experiment.rename()
method (#58)
v0.5.5
v0.5.4
What's new
Added π
- Added
Beaker.dataset.size()
. - Added
Beaker.dataset.rename()
. - Added
ExperimentSpec.from_file()
. - Added
Beaker.cluster.filter_available()
method.
Commits
687c452 Add Beaker.cluster.filter_available()
method
e213b8b Add ExperimentSpec.from_file()
method
2da334e Update rich requirement from <12.1,>=12.0 to >=12.0,<12.3 (#49)
2a4aebd Add Beaker.dataset.rename()
method
a1e765b Add Beaker.dataset.size()
method
bbc4f21 ensure wheel
installed before anything else
v0.5.3
What's new
Added π
- Added
Beaker.dataset.commit()
. - Added
Beaker.dataset.ls()
. - Added
Beaker.dataset.stream_file()
.
Changed β οΈ
- Changed behavior of
target
parameter inBeaker.dataset.create()
. It now always represents the name of a directory. - Changed the signature of
Beaker.dataset.create()
. It now accepts a variable number of source files or directories.
Commits
af423e6 Add Beaker.dataset.stream_file()
method
6e3e8fc fix release job
52952ab Add Beaker.dataset.ls()
method
b07b5c8 Add Beaker.dataset.sync()
method (#57)
959a47a update docs