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

REST API: allow serving of contents of ArrayData #5425

Merged
merged 1 commit into from
Mar 9, 2022

Conversation

sphuber
Copy link
Contributor

@sphuber sphuber commented Mar 9, 2022

The method _prepare_json is implemented for the ArrayData which will
take all arrays that it stores, converts them to lists and return a
dictionary of these lists mapped on their names. This allows the
contents of ArrayData nodes to be served by the REST API.

Supersedes #5166

@sphuber
Copy link
Contributor Author

sphuber commented Mar 9, 2022

This was approved by @sphuber and @chrisjsewell in #5166 and reopened here after a rebase with merge conflicts resolved.

The method `_prepare_json` is implemented for the `ArrayData` which will
take all arrays that it stores, converts them to lists and return a
dictionary of these lists mapped on their names. This allows the
contents of `ArrayData` nodes to be served by the REST API.
@sphuber sphuber force-pushed the fix/rest-api-array-data branch from 5778b8a to 2220c08 Compare March 9, 2022 12:16
@sphuber sphuber merged commit 7f18781 into aiidateam:develop Mar 9, 2022
@sphuber sphuber deleted the fix/rest-api-array-data branch March 9, 2022 12:53
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.

1 participant