udata 10.0.7.dev33174__py2.py3-none-any.whl → 10.0.7.dev33196__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 udata might be problematic. Click here for more details.

@@ -4,7 +4,6 @@ from mongoengine.signals import pre_save
4
4
  from udata.core.owned import Owned, OwnedQuerySet
5
5
  from udata.models import SpatialCoverage, db
6
6
  from udata.search import reindex
7
- from udata.tasks import as_task_param
8
7
 
9
8
  __all__ = ("Topic",)
10
9
 
@@ -49,7 +48,7 @@ class Topic(db.Document, Owned, db.Datetimed):
49
48
  except cls.DoesNotExist:
50
49
  datasets_list_dif = document.datasets
51
50
  for dataset in datasets_list_dif:
52
- reindex.delay(*as_task_param(dataset.fetch()))
51
+ reindex.delay("Dataset", str(dataset.pk))
53
52
 
54
53
  @property
55
54
  def display_url(self):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: udata
3
- Version: 10.0.7.dev33174
3
+ Version: 10.0.7.dev33196
4
4
  Summary: Open data portal
5
5
  Home-page: https://github.com/opendatateam/udata
6
6
  Author: Opendata Team
@@ -141,6 +141,7 @@ It is collectively taken care of by members of the
141
141
  ## Current (in progress)
142
142
 
143
143
  - Add a test to clear datasets on Topics api v1 [#3233](https://github.com/opendatateam/udata/pull/3233)
144
+ - feat: optimize topic's datasets reindex [#3234](https://github.com/opendatateam/udata/pull/3234)
144
145
 
145
146
  ## 10.0.6 (2024-12-19)
146
147
 
@@ -230,7 +230,7 @@ udata/core/topic/api.py,sha256=fikbKpI2J7V3L9WJPBUoHGOi509-zeGimigG4SYLbOU,5351
230
230
  udata/core/topic/apiv2.py,sha256=xoaQw_C5_ElQWitzXdKDLHRzpD7UMXVZXKNJulrFnK8,10360
231
231
  udata/core/topic/factories.py,sha256=RpUpwLd2gYwwS0vc7FcbQ-4tC0FSsAg7O8bPgozYKgE,684
232
232
  udata/core/topic/forms.py,sha256=NGC_k6PRw8uswEHaXW1Q3ih_2sx2-dNUY--LD-me80Y,973
233
- udata/core/topic/models.py,sha256=c1585vMpNZwyQsntg0lWNKzZnnNz9P3RiQYvMrPs7PE,2082
233
+ udata/core/topic/models.py,sha256=WR1SmVuTKBIRFvb0s54vuG3ICoCxtTmsVKJi3GGeuoM,2039
234
234
  udata/core/topic/parsers.py,sha256=dk4Siju3G5hOkMa3O01y14V1bRtdA01uvEUGrseimF4,2189
235
235
  udata/core/topic/permissions.py,sha256=RtFPPlxuU_Bv7ip6LDO4AoPrKFnIOEs9cCMXaSSmEdk,118
236
236
  udata/core/user/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -710,9 +710,9 @@ udata/translations/pt/LC_MESSAGES/udata.mo,sha256=18Y5YtzVKInDejw-R-45HNzsB3OVwJ
710
710
  udata/translations/pt/LC_MESSAGES/udata.po,sha256=6IQvFk0NTDV5Jq-kLkkzpioWfrMaLDa1oQSevKFbxKQ,44943
711
711
  udata/translations/sr/LC_MESSAGES/udata.mo,sha256=LWzCNS68hS2lbeo1bncZw4ZKqV2Dk_JUC-4SiF3o994,28163
712
712
  udata/translations/sr/LC_MESSAGES/udata.po,sha256=X1ieIsJDmk_A_YiblpmUBzWWrVHta9F8yzCZLrjeW-Y,51435
713
- udata-10.0.7.dev33174.dist-info/LICENSE,sha256=V8j_M8nAz8PvAOZQocyRDX7keai8UJ9skgmnwqETmdY,34520
714
- udata-10.0.7.dev33174.dist-info/METADATA,sha256=o0nkAG61HaTWmj4uUfpu7HrVo95LYBuODFdh0drxBlk,138184
715
- udata-10.0.7.dev33174.dist-info/WHEEL,sha256=DZajD4pwLWue70CAfc7YaxT1wLUciNBvN_TTcvXpltE,110
716
- udata-10.0.7.dev33174.dist-info/entry_points.txt,sha256=3SKiqVy4HUqxf6iWspgMqH8d88Htk6KoLbG1BU-UddQ,451
717
- udata-10.0.7.dev33174.dist-info/top_level.txt,sha256=39OCg-VWFWOq4gCKnjKNu-s3OwFlZIu_dVH8Gl6ndHw,12
718
- udata-10.0.7.dev33174.dist-info/RECORD,,
713
+ udata-10.0.7.dev33196.dist-info/LICENSE,sha256=V8j_M8nAz8PvAOZQocyRDX7keai8UJ9skgmnwqETmdY,34520
714
+ udata-10.0.7.dev33196.dist-info/METADATA,sha256=dgoKC-BDry9_TU8-jhoRIuiqs18uTjkA6Xto6fqPYhQ,138283
715
+ udata-10.0.7.dev33196.dist-info/WHEEL,sha256=DZajD4pwLWue70CAfc7YaxT1wLUciNBvN_TTcvXpltE,110
716
+ udata-10.0.7.dev33196.dist-info/entry_points.txt,sha256=3SKiqVy4HUqxf6iWspgMqH8d88Htk6KoLbG1BU-UddQ,451
717
+ udata-10.0.7.dev33196.dist-info/top_level.txt,sha256=39OCg-VWFWOq4gCKnjKNu-s3OwFlZIu_dVH8Gl6ndHw,12
718
+ udata-10.0.7.dev33196.dist-info/RECORD,,