Skip to content

Releases: allenai/beaker-py

v0.8.2

14 Apr 06:13
Compare
Choose a tag to compare

What's new

Added πŸŽ‰

  • Implemented Beaker.workspace.archive(), .unarchive(), .rename(), .move(), and create() methods.
  • Implemented Beaker.job.stop() and Beaker.job.finalize() methods.
  • Added WorkspaceWriteError for when you attempt to write to an archived workspace. Before this
    would just result in an HTTPError with a 403 status code.

Changed ⚠️

  • Allowed using workspace name without organization when Config.default_org is set.
    Otherwise OrganizationNotSet 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

13 Apr 02:51
Compare
Choose a tag to compare

What's new

Added πŸŽ‰

  • Implemented __str__ method on Beaker client for debugging.
  • Improved documentation for ExperimentSpec, TaskSpec, and other related data models,
    and added new convenience constructors such as TaskSpec.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

12 Apr 19:57
Compare
Choose a tag to compare

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 an HTTPError if the image
    in the spec doesn't exist. Now this will fail with ImageNotFound.

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

12 Apr 03:49
Compare
Choose a tag to compare

What's new

Changed ⚠️

  • Made org parameter optional, defaulting to Config.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 a WorkspaceNotFound error is raised.

Commits

375f3e8 Improve docs, make "org" param optional (#63)

v0.6.1

11 Apr 22:23
Compare
Choose a tag to compare

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

11 Apr 21:10
Compare
Choose a tag to compare

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 use Beaker.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

11 Apr 03:07
Compare
Choose a tag to compare

What's new

Added πŸŽ‰

  • Added callback parameter to Beaker.experiment.await_all().

Commits

118d6e7 Add callback parameter to Beaker.experiment.await_all()
ffe6386 add py.typed file

v0.5.4

10 Apr 23:40
Compare
Choose a tag to compare

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

08 Apr 21:16
Compare
Choose a tag to compare

What's new

Added πŸŽ‰

  • Added Beaker.dataset.commit().
  • Added Beaker.dataset.ls().
  • Added Beaker.dataset.stream_file().

Changed ⚠️

  • Changed behavior of target parameter in Beaker.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

v0.5.2

07 Apr 21:07
Compare
Choose a tag to compare

What's new

Added πŸŽ‰

  • Added Beaker.experiment.stop().

Fixed βœ…

  • Fixed bug with Beaker.experiment.await_all().

Commits

3eec1bb add Beaker.experiment.stop()