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
http headers: use and adjust vnd.inveniordm.v1+json http accept header #1078
base: master
Are you sure you want to change the base?
http headers: use and adjust vnd.inveniordm.v1+json http accept header #1078
Conversation
anikachurilova
commented
Jan 30, 2024
- closes https://github.com/zenodo/rdm-project/issues/598
e1f18e6
to
585a504
Compare
@@ -211,7 +211,7 @@ def rename( | |||
data, | |||
context={"identity": identity}, | |||
raise_errors=raise_errors, # if False, flow is continued with | |||
schema_args={"partial": True} # data only containing valid data, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was failing because of the new version of black
if hasattr(r, "access") | ||
else r.get("access", {}).get( | ||
field | ||
lambda r: ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was failing because of the new version of black
"args": params, | ||
"community_id": community_id, | ||
}, | ||
links_tpl=( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was failing because of the new version of black
app_config[ | ||
"RECORDS_REFRESOLVER_STORE" | ||
] = "invenio_jsonschemas.proxies.current_refresolver_store" | ||
app_config["RECORDS_REFRESOLVER_CLS"] = ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was failing because of the new version of black