oarepo-runtime 1.10.1__py3-none-any.whl → 1.10.2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- oarepo_runtime/services/schema/ui.py +3 -1
- {oarepo_runtime-1.10.1.dist-info → oarepo_runtime-1.10.2.dist-info}/METADATA +1 -1
- {oarepo_runtime-1.10.1.dist-info → oarepo_runtime-1.10.2.dist-info}/RECORD +7 -7
- {oarepo_runtime-1.10.1.dist-info → oarepo_runtime-1.10.2.dist-info}/WHEEL +0 -0
- {oarepo_runtime-1.10.1.dist-info → oarepo_runtime-1.10.2.dist-info}/entry_points.txt +0 -0
- {oarepo_runtime-1.10.1.dist-info → oarepo_runtime-1.10.2.dist-info}/licenses/LICENSE +0 -0
- {oarepo_runtime-1.10.1.dist-info → oarepo_runtime-1.10.2.dist-info}/top_level.txt +0 -0
@@ -16,7 +16,7 @@ from invenio_rdm_records.services.schemas.parent import RDMParentSchema
|
|
16
16
|
from invenio_rdm_records.services.schemas.pids import PIDSchema
|
17
17
|
from invenio_rdm_records.services.schemas.record import validate_scheme
|
18
18
|
from invenio_rdm_records.services.schemas.versions import VersionsSchema
|
19
|
-
from marshmallow.fields import Dict, Nested
|
19
|
+
from marshmallow.fields import Dict, Nested, Raw
|
20
20
|
from marshmallow_utils.fields import (
|
21
21
|
BabelGettextDictField,
|
22
22
|
FormatDate,
|
@@ -239,6 +239,8 @@ class InvenioRDMUISchema(InvenioUISchema, RDMBaseRecordSchema):
|
|
239
239
|
values=Nested(PIDSchema),
|
240
240
|
)
|
241
241
|
parent = ma.fields.Nested(InvenioRDMParentUISchema)
|
242
|
+
access = ma.fields.Raw(attribute="access", data_key="access", dump_only=True)
|
243
|
+
files = ma.fields.Raw(attribute="files", data_key="files", dump_only=True)
|
242
244
|
|
243
245
|
def hide_tombstone(self, data):
|
244
246
|
"""Hide tombstone info if the record isn't deleted and metadata if it is."""
|
@@ -138,7 +138,7 @@ oarepo_runtime/services/schema/oneofschema.py,sha256=GnWH4Or_G5M0NgSmCoqMI6PBrJg
|
|
138
138
|
oarepo_runtime/services/schema/polymorphic.py,sha256=bAbUoTIeDBiJPYPhpLEKKZekEdkHlpqkmNxk1hN3PDw,564
|
139
139
|
oarepo_runtime/services/schema/rdm.py,sha256=rtyO46CREmBJMQxgm0UenIbELSY6OAj35VbxFflIH_g,2272
|
140
140
|
oarepo_runtime/services/schema/rdm_ui.py,sha256=ffjl20tvRcuX3FNINOhGJWX84aTNEzJOqoKZum1s03s,3778
|
141
|
-
oarepo_runtime/services/schema/ui.py,sha256=
|
141
|
+
oarepo_runtime/services/schema/ui.py,sha256=GXOAXF1ZaMU4NPkER-Xrq_xtRfblr5SzZDOZ4snbCh0,8382
|
142
142
|
oarepo_runtime/services/schema/validation.py,sha256=aRfeR-2D1XXYqI3_U5FHoFvJrYjZlpM8nB35-M_u3Qs,2300
|
143
143
|
oarepo_runtime/translations/default_translations.py,sha256=060GBlA1ghWxfeumo6NqxCCZDb-6OezOuF6pr-_GEOQ,104
|
144
144
|
oarepo_runtime/translations/messages.pot,sha256=7Sf8l_70GjmKnXKYioUFp8Z65qtW57BgR9N9NlwmiNU,3013
|
@@ -151,13 +151,13 @@ oarepo_runtime/utils/functools.py,sha256=gKS9YZtlIYcDvdNA9cmYO00yjiXBYV1jg8VpcRU
|
|
151
151
|
oarepo_runtime/utils/identity_utils.py,sha256=a8nnvkX_Am9iibLa82_iK-3agIl11LTxjiy5qPKBoT4,1183
|
152
152
|
oarepo_runtime/utils/index.py,sha256=ArrUUXB-KowUcUksRKqcFpmqct4bn9alO1zd_kX2tmU,292
|
153
153
|
oarepo_runtime/utils/path.py,sha256=V1NVyk3m12_YLbj7QHYvUpE1wScO78bYsX1LOLeXDkI,3108
|
154
|
-
oarepo_runtime-1.10.
|
154
|
+
oarepo_runtime-1.10.2.dist-info/licenses/LICENSE,sha256=h2uWz0OaB3EN-J1ImdGJZzc7yvfQjvHVYdUhQ-H7ypY,1064
|
155
155
|
tests/marshmallow_to_json/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
156
156
|
tests/marshmallow_to_json/test_datacite_ui_schema.py,sha256=82iLj8nW45lZOUewpWbLX3mpSkpa9lxo-vK-Qtv_1bU,48552
|
157
157
|
tests/marshmallow_to_json/test_simple_schema.py,sha256=izZN9p0v6kovtSZ6AdxBYmK_c6ZOti2_z_wPT_zXIr0,1500
|
158
158
|
tests/pkg_data/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
159
|
-
oarepo_runtime-1.10.
|
160
|
-
oarepo_runtime-1.10.
|
161
|
-
oarepo_runtime-1.10.
|
162
|
-
oarepo_runtime-1.10.
|
163
|
-
oarepo_runtime-1.10.
|
159
|
+
oarepo_runtime-1.10.2.dist-info/METADATA,sha256=t_Hi6PzrPTadCe7IB_lZEjPjkOWgUWCovdylbPpMzXA,4789
|
160
|
+
oarepo_runtime-1.10.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
161
|
+
oarepo_runtime-1.10.2.dist-info/entry_points.txt,sha256=k7O5LZUOGsVeSpB7ulU0txBUNp1CVQG7Q7TJIVTPbzU,491
|
162
|
+
oarepo_runtime-1.10.2.dist-info/top_level.txt,sha256=bHhlkT1_RQC4IkfTQCqA3iN4KCB6cSFQlsXpQMSP-bE,21
|
163
|
+
oarepo_runtime-1.10.2.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|