invenio-rdm-records 37.0.3
Applies wraps to nested Python functionBrowser navigation using open or location replace
SHA-256220b1ccb4273634420694a988afd028198bb308c072e21206205488dbfd32a6f
Evidence
1Metadata-Version: 2.5
2Name: invenio-rdm-records
3Version: 37.0.3
4Summary: InvenioRDM module for the communities feature.
5Project-URL: Repository, https://github.com/inveniosoftware/invenio-rdm-records
6Author-email: CERN <[email protected]>
7License-Expression: MIT
8License-File: LICENSE
9Keywords: data,invenio,model,rdm
10Classifier: Development Status :: 5 - Production/Stable
11Requires-Python: >=3.9
12Requires-Dist: arrow>=0.17.0
13Requires-Dist: babel-edtf>=1.2.0
14Requires-Dist: citeproc-py-styles<1.0.0,>=0.1.2
15Requires-Dist: citeproc-py>=0.10.7
16Requires-Di …
53:37… xtra == 'tests'
54Requires-Dist: tripoli>=2.0.0; extra == 'tests'
55Description-Content-Type: text/markdown
56
57<!--
⋯4 lines
65:144… ctions?query=workflow%3ACI+branch%3Amaster)
66[](https://github.com/inveniosoftware/invenio-rdm-records/releases)
67[![Downlo …
1# SPDX-FileCopyrightText: 2019-2026 CERN.
2# SPDX-FileCopyrightText: 2019-2024 Northwestern University.
3# SPDX-FileCopyrightText: 2024 KTH Royal Institute of Technology.
4# SPDX-FileCopyrightText: 2024-2026 Graz University of Technology.
5# SPDX-License-Identifier: MIT
6
7"""DataCite-based data model for Invenio."""
8
9from .ext import InvenioRDMRecords
10
11__version__ = "37.0.3"
12
13__all__ = ("__version__", "InvenioRDMRecords")
1# SPDX-FileCopyrightText: 2023 TU Wien.
2# SPDX-License-Identifier: MIT
3
4"""Access request UI views."""
5
6from flask import abort, current_app, g, redirect, render_template, request
7from invenio_access.permissions import system_identity
8from invenio_i18n import lazy_gettext as _
9from invenio_mail.tasks import send_email
10from invenio_requests.proxies import current_requests_service
11from invenio_requests.views.decorators import pass_request
12
13from ..proxies import current_rdm_records_service as current_service
14from ..requests.access.requests import GuestAcceptAction
15from ..services.errors import AccessRequestExistsError
16
17# Attention! These views are registered on the API app
18
19
20def verify_access_request_token():
21 """UI endpoint for verifying guest access request tokens.
22
23 When the token is verified successfully, a new guest access request will be created
24 and the token object will be deleted from the database.
25 The token value will be stored with the newly created request and grant access
26 permissions to the request details.
27 """
28 token = request.args.get("access_request_token")
29 access_request = None
30 try:
31 access_request = current_service.access.create_guest_access_ …
Showing the top 5 files — 7 more files (73 regions) not shown.
No evidence locations were recorded for this file. Raw result