invenio-vocabularies 6.10.1__py2.py3-none-any.whl → 6.11.0__py2.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.
Potentially problematic release.
This version of invenio-vocabularies might be problematic. Click here for more details.
- invenio_vocabularies/__init__.py +1 -1
- invenio_vocabularies/contrib/names/schema.py +13 -1
- {invenio_vocabularies-6.10.1.dist-info → invenio_vocabularies-6.11.0.dist-info}/METADATA +5 -1
- {invenio_vocabularies-6.10.1.dist-info → invenio_vocabularies-6.11.0.dist-info}/RECORD +9 -9
- {invenio_vocabularies-6.10.1.dist-info → invenio_vocabularies-6.11.0.dist-info}/AUTHORS.rst +0 -0
- {invenio_vocabularies-6.10.1.dist-info → invenio_vocabularies-6.11.0.dist-info}/LICENSE +0 -0
- {invenio_vocabularies-6.10.1.dist-info → invenio_vocabularies-6.11.0.dist-info}/WHEEL +0 -0
- {invenio_vocabularies-6.10.1.dist-info → invenio_vocabularies-6.11.0.dist-info}/entry_points.txt +0 -0
- {invenio_vocabularies-6.10.1.dist-info → invenio_vocabularies-6.11.0.dist-info}/top_level.txt +0 -0
invenio_vocabularies/__init__.py
CHANGED
|
@@ -11,7 +11,14 @@
|
|
|
11
11
|
from functools import partial
|
|
12
12
|
|
|
13
13
|
from invenio_i18n import lazy_gettext as _
|
|
14
|
-
from marshmallow import
|
|
14
|
+
from marshmallow import (
|
|
15
|
+
EXCLUDE,
|
|
16
|
+
ValidationError,
|
|
17
|
+
fields,
|
|
18
|
+
post_dump,
|
|
19
|
+
post_load,
|
|
20
|
+
validates_schema,
|
|
21
|
+
)
|
|
15
22
|
from marshmallow_utils.fields import IdentifierSet, SanitizedUnicode
|
|
16
23
|
from marshmallow_utils.schemas import IdentifierSchema
|
|
17
24
|
|
|
@@ -27,6 +34,11 @@ class AffiliationRelationSchema(BaseAffiliationRelationSchema):
|
|
|
27
34
|
|
|
28
35
|
acronym = SanitizedUnicode(dump_only=True)
|
|
29
36
|
|
|
37
|
+
class Meta:
|
|
38
|
+
"""Meta class."""
|
|
39
|
+
|
|
40
|
+
unknown = EXCLUDE
|
|
41
|
+
|
|
30
42
|
|
|
31
43
|
class NameSchema(BaseVocabularySchema, ModePIDFieldVocabularyMixin):
|
|
32
44
|
"""Service schema for names.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: invenio-vocabularies
|
|
3
|
-
Version: 6.
|
|
3
|
+
Version: 6.11.0
|
|
4
4
|
Summary: Invenio module for managing vocabularies.
|
|
5
5
|
Home-page: https://github.com/inveniosoftware/invenio-vocabularies
|
|
6
6
|
Author: CERN
|
|
@@ -88,6 +88,10 @@ https://invenio-vocabularies.readthedocs.io/
|
|
|
88
88
|
Changes
|
|
89
89
|
=======
|
|
90
90
|
|
|
91
|
+
Version v6.11.0 (released 2024-12-13)
|
|
92
|
+
|
|
93
|
+
- names: fix acronym in marshamllow schema
|
|
94
|
+
|
|
91
95
|
Version v6.10.1 (released 2024-12-12)
|
|
92
96
|
|
|
93
97
|
- names: drop unique id on the internal id
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
invenio_vocabularies/__init__.py,sha256=
|
|
1
|
+
invenio_vocabularies/__init__.py,sha256=ube6bvYBgLh3-CgAOLvU6jDgcR36iJS80Cb7pf4UZ5k,378
|
|
2
2
|
invenio_vocabularies/cli.py,sha256=CpXTTIn2GTpUqNfLEMlRAp3JWst8ZjHVxoGYdhuuv_4,5959
|
|
3
3
|
invenio_vocabularies/config.py,sha256=h9Iied753mmZwZZHe5COMqUYvV-zSQtx763EIkUVb1Q,6973
|
|
4
4
|
invenio_vocabularies/ext.py,sha256=GujJ4UARd4Fxf4z7zznRk9JAgHamZuYCOdrKU5czg00,5987
|
|
@@ -122,7 +122,7 @@ invenio_vocabularies/contrib/names/names.py,sha256=jej3gkBgOJpKwp5RmWk1AP678WkMb
|
|
|
122
122
|
invenio_vocabularies/contrib/names/permissions.py,sha256=5xrpYsA3oQUJ5lJpF7wjRAFiW-pM6_yP1k9zllbRwnQ,844
|
|
123
123
|
invenio_vocabularies/contrib/names/resources.py,sha256=Z8XqLKfFKE69zdTTvcTDmpEZ6wqiqjIH5tp0LzXTSwQ,1588
|
|
124
124
|
invenio_vocabularies/contrib/names/s3client.py,sha256=c7B9_NbnXCfE4pE_yMTsT6uQ2hgbcRU-KY6nbWFuFzU,1063
|
|
125
|
-
invenio_vocabularies/contrib/names/schema.py,sha256=
|
|
125
|
+
invenio_vocabularies/contrib/names/schema.py,sha256=o5RDy3C9GaqCG6om6q-52t5DAJDwApwbnTUvuZUDQPg,3773
|
|
126
126
|
invenio_vocabularies/contrib/names/services.py,sha256=ntcGUTM0ZsKnRTxIKvZhKrRuup6Tjv965PATCaJR6Cc,2127
|
|
127
127
|
invenio_vocabularies/contrib/names/jsonschemas/__init__.py,sha256=pdDZdyoxqWbAQ6ngiclhYoDUsGKgRDRPXlIDy0U5Jzg,241
|
|
128
128
|
invenio_vocabularies/contrib/names/jsonschemas/names/name-v1.0.0.json,sha256=WlIroNhE9o6oh1Cd13ymBPXuXDOs0NYfjLGtAH417YI,1574
|
|
@@ -305,10 +305,10 @@ invenio_vocabularies/translations/zh_CN/LC_MESSAGES/messages.mo,sha256=g1I5aNO8r
|
|
|
305
305
|
invenio_vocabularies/translations/zh_CN/LC_MESSAGES/messages.po,sha256=vg8qC8ofpAdJ3mQz7mWM1ylKDpiNWXFs7rlMdSPkgKk,4629
|
|
306
306
|
invenio_vocabularies/translations/zh_TW/LC_MESSAGES/messages.mo,sha256=cqSm8NtMAwrP9O6qbmtkDtRT1e9D93qpsJN5X9_PPVw,600
|
|
307
307
|
invenio_vocabularies/translations/zh_TW/LC_MESSAGES/messages.po,sha256=9ACePz_EpB-LfcIJajZ2kp8Q04tcdrQLOtug162ZUss,4115
|
|
308
|
-
invenio_vocabularies-6.
|
|
309
|
-
invenio_vocabularies-6.
|
|
310
|
-
invenio_vocabularies-6.
|
|
311
|
-
invenio_vocabularies-6.
|
|
312
|
-
invenio_vocabularies-6.
|
|
313
|
-
invenio_vocabularies-6.
|
|
314
|
-
invenio_vocabularies-6.
|
|
308
|
+
invenio_vocabularies-6.11.0.dist-info/AUTHORS.rst,sha256=8d0p_WWE1r9DavvzMDi2D4YIGBHiMYcN3LYxqQOj8sY,291
|
|
309
|
+
invenio_vocabularies-6.11.0.dist-info/LICENSE,sha256=UvI8pR8jGWqe0sTkb_hRG6eIrozzWwWzyCGEpuXX4KE,1062
|
|
310
|
+
invenio_vocabularies-6.11.0.dist-info/METADATA,sha256=hQ5UYux6pSmd6O7v6vTvyw70zEJtmsqh0WblVqlHcps,12566
|
|
311
|
+
invenio_vocabularies-6.11.0.dist-info/WHEEL,sha256=-G_t0oGuE7UD0DrSpVZnq1hHMBV9DD2XkS5v7XpmTnk,110
|
|
312
|
+
invenio_vocabularies-6.11.0.dist-info/entry_points.txt,sha256=ud9nfdMlhO_mu3okwmy5vQD48r3-rCU_pSR-lUtLeYE,3180
|
|
313
|
+
invenio_vocabularies-6.11.0.dist-info/top_level.txt,sha256=x1gRNbaODF_bCD0SBLM3nVOFPGi06cmGX5X94WKrFKk,21
|
|
314
|
+
invenio_vocabularies-6.11.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{invenio_vocabularies-6.10.1.dist-info → invenio_vocabularies-6.11.0.dist-info}/entry_points.txt
RENAMED
|
File without changes
|
{invenio_vocabularies-6.10.1.dist-info → invenio_vocabularies-6.11.0.dist-info}/top_level.txt
RENAMED
|
File without changes
|