Releases: allenai/beaker-py
v1.4.0
What's new
This release comes with an important HTTP performance and robustness upgrade, specifically with how the client makes requests to the Beaker server.
Added 🎉
- Added
Beaker.session()
context manager for improving performance when calling a series of
client methods in a row. - Added
timeout
parameter toBeaker
client initialization methods with a default of5
(seconds).
This controls the connect and read timeouts of HTTP requests sent to the Beaker server.
Commits
9ac5677 Merge pull request #122 from allenai/http-perf
bbb1bf7 fix token
8f31e0d fix setup-beaker
9da6bf7 Add timeout
parameter
d8dcae2 Use session in sweep example
739869e Add Beaker.session()
context manager
v1.3.0
v1.2.0
What's new
Added 🎉
- Added
Beaker.dataset.file_info()
method. - Added
.workspace
(WorkspaceRef
) property toDataset
,Image
,Group
, andExperiment
.
This is just an alias for the.workspace_ref
property.
Changed ⚠️
Beaker.dataset.stream_file()
now can also take aFileInfo
object as the 2nd argument instead of a file path.Digest
class is now hashable.
Commits
941dd4c Bump mypy from 0.950 to 0.960 (#112)
79bd8ba pin rich tighter
2fffeb2 Add Beaker.dataset.file_info()
method (#113)
cf30caa Add .workspace
alias to some data models
4b60ee7 Update README.md
v1.1.0
v1.0.0
v0.15.3
v0.15.2
What's new
Added 🎉
- Added
Beaker.experiment.latest_job()
method. - Added
strict: bool
argument toBeaker.(experiment|job).(wait_for|as_completed)
methods. - Added
description
andsource_execution
fields toDataset
. - Added
description
field toExperiment
. - Added
description
field toImage
. - Added
description
field toWorkspace
.
Commits
31ca8a0 Add missing description
field (#104)
2553824 Additions to Beaker.experiment
and Beaker.job
(#103)
v0.15.1
v0.15.0
What's new
Added 🎉
- Added
ExperimentSpec.with_description()
. - Added
TaskSpec.with_image()
,.with_result()
,.with_context()
,.with_name()
,.with_command()
, and.with_arguments()
.
Changed ⚠️
- Renamed
delete_results_dataset
param todelete_results_datasets
inBeaker.experiment.delete()
. - Renamed
TaskSpec.with_data()
toTaskSpec.with_dataset()
.
Fixed ✅
- Fixed bug with
Beaker.experiment.delete()
that would lead to aValueError
being raised when the experiment to delete has multiple tasks.
Commits
49d677c Sweep example (#99)
998ea30 Fix bug with Beaker.experiment.delete()
, add more mutation methods to experiment / task specs (#97)