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

Links can be strings #16

Merged
merged 2 commits into from Jun 13, 2019
Merged

Links can be strings #16

merged 2 commits into from Jun 13, 2019

Conversation

fawzi
Copy link
Contributor

@fawzi fawzi commented Jun 12, 2019

No description provided.

ltalirz
ltalirz previously approved these changes Jun 12, 2019
Copy link
Member

@ltalirz ltalirz left a comment

Choose a reason for hiding this comment

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

@fawzi I think this is fine in terms of translating what optimade wants.

It is not part of the json api specification (see e.g. Materials-Consortia/API#18), so we should probably keep it outside the jsonapi.py file.

@tpurcell90 is currently working on adding the full json api spec in there, so I think he'll be fine with taking care of moving this class out of jsonapi.py (and creating a Link somewhere else that inherits from the JSON API link and adds the base_url).

Copy link
Contributor

@dwinston dwinston left a comment

Choose a reason for hiding this comment

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

This good for now. We can move outside the jsonapi module later.

@dwinston dwinston merged commit 220b2bc into master Jun 13, 2019
@CasperWA CasperWA deleted the link_fixes branch November 8, 2019 14:36
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

4 participants