Skip to content

v1.4.0

Compare
Choose a tag to compare
@github-actions github-actions released this 09 Jun 20:12
· 285 commits to main since this release

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 to Beaker client initialization methods with a default of 5 (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