This minor release contains new client functionality and improved support for ASE.
New features:
Ability to specify async callback functions that are called after every client response.
This can be used for e.g., iteratively saving to file or a database. For example:
Ability to create OPTIMADE structure objects from ASE atoms:
from optimade.adapters import Structure
from ase import Atoms
co = Atoms('CO', positions=[(0, 0, 0), (0, 0, 1.1)])
structure = Structure.from_ase_atoms(co)
Added ability to mute the client progress bars with --silent/silent=True and increased default response timeouts to better reflect those required for practical queries.
Implemented enhancements:
Add customisable callback functions to client #1515
Add ability to specify callbacks to run after each client request #1519 (ml-evs)
Increase client timeouts and tweak response_fields behaviour #1514 (ml-evs)
Add ASE ingester and generalize other ingestion utilities #1509 (ml-evs)
This minor release contains new client functionality and improved support for ASE.
New features:
Ability to specify async callback functions that are called after every client response.
This can be used for e.g., iteratively saving to file or a database. For example:
Ability to create OPTIMADE structure objects from ASE atoms:
from optimade.adapters import Structure
from ase import Atoms
co = Atoms('CO', positions=[(0, 0, 0), (0, 0, 1.1)])
structure = Structure.from_ase_atoms(co)
Added ability to mute the client progress bars with --silent/silent=True and increased default response timeouts to better reflect those required for practical queries.
Implemented enhancements:
Add customisable callback functions to client #1515
Add ability to specify callbacks to run after each client request #1519 (ml-evs)
Increase client timeouts and tweak response_fields behaviour #1514 (ml-evs)
Add ASE ingester and generalize other ingestion utilities #1509 (ml-evs)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps optimade[server] from 0.20.2 to 0.21.0.
Release notes
Sourced from optimade[server]'s releases.
... (truncated)
Changelog
Sourced from optimade[server]'s changelog.
... (truncated)
Commits
c3ed95d
Release v0.21.0 - Changelogeee40df
Update dockerfile manifest81620ac
Replace flake8, isort etc. with ruff8a19957
Add ability to specify callbacks to run after each client request (#1519)0a3b7bf
Update dependencies (#1525)c87d6c3
Make calling CLI with no args print the help string1f71e31
Add--silent
option to suppress rich output from client310c36d
Refresh docs style and associated tweaks (#1516)a029dbf
Update tests and client to properly test async mode (#1517)a8d9209
Tweak client timeouts andresponse_fields
behaviour (#1514)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)