invenio-vocabularies 5.0.2__py2.py3-none-any.whl → 5.0.3__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.

@@ -10,6 +10,6 @@
10
10
 
11
11
  from .ext import InvenioVocabularies
12
12
 
13
- __version__ = "5.0.2"
13
+ __version__ = "5.0.3"
14
14
 
15
15
  __all__ = ("__version__", "InvenioVocabularies")
@@ -12,14 +12,7 @@
12
12
 
13
13
  import sqlalchemy as sa
14
14
  from invenio_cache import current_cache
15
- from invenio_records_resources.services import (
16
- Link,
17
- LinksTemplate,
18
- RecordService,
19
- RecordServiceConfig,
20
- SearchOptions,
21
- pagination_links,
22
- )
15
+ from invenio_records_resources.services import LinksTemplate, RecordService
23
16
  from invenio_records_resources.services.base.utils import map_search_params
24
17
  from invenio_records_resources.services.records.schema import ServiceSchemaWrapper
25
18
  from invenio_records_resources.services.uow import unit_of_work
@@ -32,6 +25,10 @@ from .tasks import process_datastream
32
25
  class VocabularyTypeService(RecordService):
33
26
  """Vocabulary type service."""
34
27
 
28
+ def rebuild_index(self, identity, uow=None):
29
+ """Raise error since services are not backed by search indices."""
30
+ raise NotImplementedError()
31
+
35
32
  def search(self, identity, params=None):
36
33
  """Search for vocabulary types entries."""
37
34
  self.require_permission(identity, "list_vocabularies")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: invenio-vocabularies
3
- Version: 5.0.2
3
+ Version: 5.0.3
4
4
  Summary: Invenio module for managing vocabularies.
5
5
  Home-page: https://github.com/inveniosoftware/invenio-vocabularies
6
6
  Author: CERN
@@ -81,6 +81,10 @@ https://invenio-vocabularies.readthedocs.io/
81
81
  Changes
82
82
  =======
83
83
 
84
+ Version v5.0.3 (released 2024-09-06)
85
+
86
+ - services: skip index rebuilding
87
+
84
88
  Version v5.0.2 (released 2024-08-28)
85
89
 
86
90
  - ror: use datePublished as fallback date for dataset timestamp
@@ -1,4 +1,4 @@
1
- invenio_vocabularies/__init__.py,sha256=OL5grlUCznD7I2pTl2Pk59Rm6zju_S9ptITe7Zf0vdM,377
1
+ invenio_vocabularies/__init__.py,sha256=9VsGkOfGJ0xoBrvi1rzcTRVgxkwY93mangwTNAczRVs,377
2
2
  invenio_vocabularies/cli.py,sha256=ToGc5dcGarDwNUgUXGqHIRT-3Uv1rleyFLKenwZdyBw,5719
3
3
  invenio_vocabularies/config.py,sha256=sOkJdmnfoSftfpH7msZEC6Eyo61Q3RQ7V2mMeE5LPAM,5157
4
4
  invenio_vocabularies/ext.py,sha256=GujJ4UARd4Fxf4z7zznRk9JAgHamZuYCOdrKU5czg00,5987
@@ -187,7 +187,7 @@ invenio_vocabularies/services/permissions.py,sha256=nU1t_aW-RimFTWHbg9SivfzoP3P2
187
187
  invenio_vocabularies/services/querystr.py,sha256=X3JHVF9B0O0iLWrnW3ok_bf_8jA-Cs_oAcYYkGOm3Uw,1829
188
188
  invenio_vocabularies/services/results.py,sha256=6LZIpzWSbt9wpRNWgjA1uIM4RFooOYTkHcp5-PnIJdU,3767
189
189
  invenio_vocabularies/services/schema.py,sha256=mwIBFylpQlWw1M6h_axc-z4Yd7X3Z1S0PxJOlZGpfrQ,4634
190
- invenio_vocabularies/services/service.py,sha256=cF2FV4QTyCUQwaokeqoppqeYJZeRrtbvXYdi9T4U6uQ,6397
190
+ invenio_vocabularies/services/service.py,sha256=9QQDsG1WShCpBVFze-Dnq-iC2BwNX_0-qzfzrpImJo8,6469
191
191
  invenio_vocabularies/services/tasks.py,sha256=AH0XifkOypsEdh8LyjmlHnPLQK5qqUJC8cNVWGkbqks,788
192
192
  invenio_vocabularies/services/custom_fields/__init__.py,sha256=QgvSsn-S1xLzbZ57pjjGTt5oI3HqzXHVjwGTtuPgzN8,421
193
193
  invenio_vocabularies/services/custom_fields/subject.py,sha256=ZM-ZkaxoouF9lL62smOtLxsjQQZwiQs0jG3qGruP6nY,2231
@@ -290,10 +290,10 @@ invenio_vocabularies/translations/zh_CN/LC_MESSAGES/messages.mo,sha256=g1I5aNO8r
290
290
  invenio_vocabularies/translations/zh_CN/LC_MESSAGES/messages.po,sha256=vg8qC8ofpAdJ3mQz7mWM1ylKDpiNWXFs7rlMdSPkgKk,4629
291
291
  invenio_vocabularies/translations/zh_TW/LC_MESSAGES/messages.mo,sha256=cqSm8NtMAwrP9O6qbmtkDtRT1e9D93qpsJN5X9_PPVw,600
292
292
  invenio_vocabularies/translations/zh_TW/LC_MESSAGES/messages.po,sha256=9ACePz_EpB-LfcIJajZ2kp8Q04tcdrQLOtug162ZUss,4115
293
- invenio_vocabularies-5.0.2.dist-info/AUTHORS.rst,sha256=8d0p_WWE1r9DavvzMDi2D4YIGBHiMYcN3LYxqQOj8sY,291
294
- invenio_vocabularies-5.0.2.dist-info/LICENSE,sha256=UvI8pR8jGWqe0sTkb_hRG6eIrozzWwWzyCGEpuXX4KE,1062
295
- invenio_vocabularies-5.0.2.dist-info/METADATA,sha256=V8ddv-nWaDPyvtg1Y66UIqIgeVP7CA0rH47Z9Io5b3M,8828
296
- invenio_vocabularies-5.0.2.dist-info/WHEEL,sha256=-G_t0oGuE7UD0DrSpVZnq1hHMBV9DD2XkS5v7XpmTnk,110
297
- invenio_vocabularies-5.0.2.dist-info/entry_points.txt,sha256=qHHFkyU3r0COsKm5gCYuhP8tfsioBggxKAiEXNAbbjM,2803
298
- invenio_vocabularies-5.0.2.dist-info/top_level.txt,sha256=x1gRNbaODF_bCD0SBLM3nVOFPGi06cmGX5X94WKrFKk,21
299
- invenio_vocabularies-5.0.2.dist-info/RECORD,,
293
+ invenio_vocabularies-5.0.3.dist-info/AUTHORS.rst,sha256=8d0p_WWE1r9DavvzMDi2D4YIGBHiMYcN3LYxqQOj8sY,291
294
+ invenio_vocabularies-5.0.3.dist-info/LICENSE,sha256=UvI8pR8jGWqe0sTkb_hRG6eIrozzWwWzyCGEpuXX4KE,1062
295
+ invenio_vocabularies-5.0.3.dist-info/METADATA,sha256=zybrLXqUJUsJhGxaYtR2TJvlpq6fQSmTLZBvvNI3xiw,8901
296
+ invenio_vocabularies-5.0.3.dist-info/WHEEL,sha256=-G_t0oGuE7UD0DrSpVZnq1hHMBV9DD2XkS5v7XpmTnk,110
297
+ invenio_vocabularies-5.0.3.dist-info/entry_points.txt,sha256=qHHFkyU3r0COsKm5gCYuhP8tfsioBggxKAiEXNAbbjM,2803
298
+ invenio_vocabularies-5.0.3.dist-info/top_level.txt,sha256=x1gRNbaODF_bCD0SBLM3nVOFPGi06cmGX5X94WKrFKk,21
299
+ invenio_vocabularies-5.0.3.dist-info/RECORD,,