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

Mongo persistence #7

Merged
merged 11 commits into from
Jul 29, 2022
Merged

Mongo persistence #7

merged 11 commits into from
Jul 29, 2022

Conversation

rosesyrett
Copy link
Contributor

No description provided.

Rose Yemelyanova added 6 commits July 15, 2022 14:49
… Added class variable in stores/protocol to allow specifying error responses related directly to loading/unloading the Hkl object store
…ll under a collection, eg several samples may relate to one beamline for example
Copy link
Collaborator

@callumforrester callumforrester left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, a few minor tweaks and possibly some splitting needed, see comments.

Also, doesn't currently work out-of-box as you need to manually install the master branch of diffcalc-core. Do we know if a release is likely in the near future?

src/diffcalc_API/routes/constraints.py Show resolved Hide resolved
src/diffcalc_API/stores/mongo.py Outdated Show resolved Hide resolved
@codecov-commenter
Copy link

codecov-commenter commented Jul 29, 2022

Codecov Report

❗ No coverage uploaded for pull request base (master@9f96b38). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master       #7   +/-   ##
=========================================
  Coverage          ?   86.31%           
=========================================
  Files             ?       25           
  Lines             ?      519           
  Branches          ?        0           
=========================================
  Hits              ?      448           
  Misses            ?       71           
  Partials          ?        0           

Help us with your feedback. Take ten seconds to tell us how you rate us.

@rosesyrett
Copy link
Contributor Author

rosesyrett commented Jul 29, 2022

Just a comment - diffcalc-core has now been released with my changes so I no longer need to pull from the branch manually. I'll update this now.

Edit: my changes have been merged into master but a new version on pypi hasn't been released yet. So, not sure - am speaking with Irakli about this now.

src/diffcalc_API/stores/mongo.py Outdated Show resolved Hide resolved
src/diffcalc_API/stores/mongo.py Outdated Show resolved Hide resolved
src/diffcalc_API/stores/mongo.py Outdated Show resolved Hide resolved
src/diffcalc_API/stores/mongo.py Outdated Show resolved Hide resolved
src/diffcalc_API/stores/mongo.py Outdated Show resolved Hide resolved
Rose Yemelyanova added 2 commits July 29, 2022 14:33
@rosesyrett rosesyrett merged commit c771ee5 into master Jul 29, 2022
@rosesyrett rosesyrett deleted the mongoPersistence branch November 11, 2022 10:49
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.

4 participants