Releases: allenai/beaker-py
Releases Β· allenai/beaker-py
v1.17.6
v1.17.5
v1.17.4
v1.17.3
v1.17.2
v1.17.1
v1.17.0
What's new
Added π
- Added
ExperimentSpec.new()
constructor.
Changed β οΈ
- The
cluster
argument toTaskSpec.new()
andExperimentSpec.new()
can now
be given as a list of clusters which is equivalent to adding a "cluster" list
in theconstraints
field.
Fixed β
Beaker.workspace.clear()
will remove uncommitted datasets too.- Fixed the progress bar total in
Beaker.dataset.fetch()
and improved handling ofKeyboardInterrupt
.
Commits
a50763b Fix progress bar total for Beaker.dataset.fetch()
(#208)
2e1ebc9 Update 'sweep' example, add ExperimentSpec.new()
(#207)
4fc5c1a Fix tests, upgrade deps (#206)
153575f fix type
4bb8fbb fix Beaker.workspace.clear()
v1.16.0
What's new
Added π
- Added missing
user_restrictions
field toCluster
data model. - Added
Beaker.job.preempt()
method. - Added
Job.was_preempted
property. - Added
job
attribute toJobFailedError
andtask
attribute toTaskStoppedError
. - Added DEBUG logging statements for every request and response to/from the Beaker server. To see these, just enable logging at the DEBUG level (though you may want to disable DEBUG logging from the "urllib3" logger, as that will create a lot of noise). For example:
import logging logging.basicConfig(level=logging.DEBUG) logging.getLogger("urllib3").setLevel(logging.INFO)
Fixed β
- Fixed bug where
Beaker.experiment.wait_for()
would fail if a job was preempted.
Commits
d5894a9 Fix bug with determining if a job was preempted, minor improvements to exception handling, data model, logging, and client (#202)
105bd4d Add missing user_restrictions
field to Cluster
v1.15.0
What's new
Added π
- Added
DigestHashAlgorithm
enum to representDigest.algorithm
. - Added
Digest.new_hasher()
method. - Added fields
Job.host_networking
,Job.port_mappings
, andSession.ports_v2
.
Fixed β
- For backwards compatibility,
Digest
can now be instantiated again from a string, e.g.Digest("SHA256 iA02Sx8UNLYvMi49fDwdGjyy5ssU+ttuN1L4L3/JvZA=")
.