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

Use /links router directly from optimade-python-tools #86

Merged
merged 2 commits into from
Jun 18, 2020

Conversation

CasperWA
Copy link
Collaborator

Fixes #81

This also means reusing the MongoCollection.
The data is stored in aiida_optimade/data/links.json.
Mongomock is used as the "backend" for this endpoint.

Note: This update will not work until optimade-python-tools has released a new version that includes the updated LinksResource schema.

This also means reusing the `MongoCollection`.
The data is stored in `aiida_optimade/data/links.json`.
Mongomock is used as the "backend" for this endpoint.
@codecov
Copy link

codecov bot commented Jun 11, 2020

Codecov Report

Merging #86 into develop will increase coverage by 0.65%.
The diff coverage is 96.15%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop      #86      +/-   ##
===========================================
+ Coverage    73.47%   74.12%   +0.65%     
===========================================
  Files           18       19       +1     
  Lines          837      862      +25     
===========================================
+ Hits           615      639      +24     
- Misses         222      223       +1     
Flag Coverage Δ
#pytest 74.12% <96.15%> (+0.65%) ⬆️
Impacted Files Coverage Δ
aiida_optimade/routers/links.py 92.30% <92.30%> (ø)
aiida_optimade/main.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ccad475...4c3c8f0. Read the comment docs.

@CasperWA CasperWA changed the title [BLOCKED] Use /links router directly from optimade-python-tools Use /links router directly from optimade-python-tools Jun 18, 2020
@CasperWA CasperWA merged commit 8009fa1 into aiidateam:develop Jun 18, 2020
@CasperWA CasperWA deleted the fix_81_links-endpoint branch June 18, 2020 20:10
This was referenced Jun 18, 2020
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.

/links-endpoint is missing
1 participant