Patrick Huck
Patrick Huck
This PR is a fresh start of #124. It includes: - A separate `register_class` function to use with Flask Blueprints (see e.g. [here](https://github.com/materialsproject/MPContribs/blob/0b4542d4b110594ff7a374688f8345fb47b422a3/mpcontribs-api/mpcontribs/api/__init__.py#L75-L78)). This should supersede #85 and #115. -...
Full log: https://github.com/materialsproject/crystaltoolkit/actions/runs/6767860648
https://matsci.org/t/getting-raw-files-from-nomad/4514/9
also show `collaborators` on project page
pertains to https://github.com/materialsproject/MPContribs/issues/1223 Also allow querying components, e.g. ``` client.query_contributions(query={"data__metal": "Yes", "data__S__p__value__gt": 700, "tables__name": "S(p)"}) ``` - interpret kwargs as query params
- implement [concise correlated subquery with `lookup`](https://www.mongodb.com/docs/manual/reference/operator/aggregation/lookup/#perform-a-concise-correlated-subquery-with--lookup) - use sampling when initializing from database (schema analysis)
docs
https://mpcontribs.org https://docs.mpcontribs.org https://docs.materialsproject.org/mpcontribs