Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JPBergsma/partial data #1812

Draft
wants to merge 107 commits into
base: 0.25.x
Choose a base branch
from

Conversation

JPBergsma
Copy link
Contributor

PR to implement the partial data mechanism and the JSON lines return format as described in PR#467, and PR#481

@JPBergsma JPBergsma changed the title Jp bergsma/partial data JPBergsma/partial data Oct 13, 2023
JPBergsma and others added 15 commits October 13, 2023 17:44
* Use Python 3.9 as the 'base' CI version for linting

* Update pre-commit hooks

* Run `pyupgrade --py39-plus` to upgrade legacy annotations

* Add `--exit-non-zero-on-fix` for ruff

Co-authored-by: Casper Welzel Andersen <43357585+CasperWA@users.noreply.github.com>

* Use f-string over format

Co-authored-by: Casper Welzel Andersen <43357585+CasperWA@users.noreply.github.com>

---------

Co-authored-by: Casper Welzel Andersen <43357585+CasperWA@users.noreply.github.com>
@codecov
Copy link

codecov bot commented Oct 19, 2023

Codecov Report

Merging #1812 (bf29459) into master (8510ffa) will decrease coverage by 0.03%.
The diff coverage is 91.40%.

@@            Coverage Diff             @@
##           master    #1812      +/-   ##
==========================================
- Coverage   90.68%   90.65%   -0.03%     
==========================================
  Files          74       78       +4     
  Lines        4616     4956     +340     
==========================================
+ Hits         4186     4493     +307     
- Misses        430      463      +33     
Flag Coverage Δ
project 90.65% <91.40%> (-0.03%) ⬇️
validator ?

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
optimade/models/__init__.py 100.00% <100.00%> (ø)
optimade/models/partial_data.py 100.00% <100.00%> (ø)
optimade/models/responses.py 97.77% <100.00%> (+0.15%) ⬆️
optimade/server/config.py 94.39% <100.00%> (+0.70%) ⬆️
optimade/server/data/__init__.py 76.92% <100.00%> (+1.92%) ⬆️
...made/server/entry_collections/entry_collections.py 95.97% <100.00%> (+0.14%) ⬆️
optimade/server/exception_handlers.py 84.50% <ø> (ø)
optimade/server/main.py 95.89% <100.00%> (+1.55%) ⬆️
optimade/server/mappers/__init__.py 100.00% <100.00%> (ø)
optimade/server/mappers/entries.py 96.82% <100.00%> (+0.36%) ⬆️
... and 9 more

@ml-evs ml-evs changed the base branch from master to 0.25.x October 23, 2023 12:56
@ml-evs
Copy link
Member

ml-evs commented Oct 23, 2023

Hi @JPBergsma, I've just changed the base branch of this PR and others to the new 0.25.x branch until we can port things over. I would suggest you keep working as you see fit, and we can then try to port your changes over to the new format once finished.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants