Releases: allenai/beaker-py
Releases · allenai/beaker-py
v1.6.5
v1.6.4
v1.6.3
What's new
Fixed ✅
- Handling empty string values in Beaker config YAML files for compatibility with
beaker
CLI.
Any empty string values in a Beaker config YAML file are now converted toNone
when theConfig
object is loaded from the file.
On the other hand, if you try to explicitly set the value of a field to an empty string when initializing theBeaker
client (e.g.Beaker.from_env(default_org='')
)
you'll get aValueError
.
Commits
760cc93 Catch empty strings in config (#135)
cd72848 fix changelog
v1.6.2
v1.6.1
v1.6.0
What's new
Added 🎉
- Added
Beaker.job.follow()
andBeaker.experiment.follow()
methods for live streaming logs.
Changed ⚠️
- The return type of
Beaker.experiment.tasks()
behaves like both aSequence[Task]
and aMapping[str, Task]
, i.e.
you can call__getitem__()
with either anint
,slice
, or astr
for the name of a task.
Fixed ✅
- Fixed a bug where
Beaker.(job|experiment).(wait_for|as_completed)()
methods could hang if a job was canceled or failed to ever start for some reason.
Commits
v1.5.1
v1.5.0
What's new
Added 🎉
- Added
since
parameter toBeaker.job.logs()
andBeaker.experiment.logs()
.
Commits
6e38e46 Fix docstring
9e0cfc6 Add since
parameter to .logs()
methods (#129)
f533059 Finish all required methods for BufferedReaderWithProgress
(#128)
99c8d7f Use new form os issue templates
516278d Simplify issue and PR templates (#127)
v1.4.2
v1.4.1
What's new
Added 🎉
- Added
session
argument toBeaker
client constructors (.from_env()
and__init__()
).
You can use this argument to force the client to use a single HTTPSession
for all requests to the server
for the life of the client. Using this approach it's not necessary to use theBeaker.session()
context manager,
but you should only use this if the client is short-lived.
Commits
ecf3843 Add session
parameter (#124)
4f2b0d7 Bump actions/setup-python from 3 to 4 (#121)
872cbba update some dev requirements (#123)
fd90b91 Bump furo from 2022.4.7 to 2022.6.4.1 (#120)