edu-rdm-integration 0.5.7__py3-none-any.whl → 0.5.8__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.
@@ -24,10 +24,14 @@ from django.db.models import (
24
24
  Max,
25
25
  Model,
26
26
  Q,
27
+ Value,
27
28
  )
28
29
  from django.db.models.base import (
29
30
  ModelBase,
30
31
  )
32
+ from django.db.models.functions import (
33
+ Concat,
34
+ )
31
35
  from django.utils import (
32
36
  timezone,
33
37
  )
@@ -248,7 +252,10 @@ class BaseExportLatestEntitiesData(BaseExportEntitiesData):
248
252
  self.async_task.objects.filter(
249
253
  task_id=self.task_id,
250
254
  ).update(
251
- description=F('description') + f': {", ".join(exported_entities)}',
255
+ description=Concat(
256
+ 'description',
257
+ Value(f': {", ".join(exported_entities)}')
258
+ ),
252
259
  )
253
260
 
254
261
  def _fill_manager_entities_map(self, entity_storage: RegionalDataMartEntityStorage) -> None:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: edu-rdm-integration
3
- Version: 0.5.7
3
+ Version: 0.5.8
4
4
  Summary: Интеграция с Региональной витриной данных
5
5
  Home-page:
6
6
  Download-URL:
@@ -220,6 +220,16 @@ ENABLE_REQUEST_EMULATION = True
220
220
  ### Удалено
221
221
 
222
222
 
223
+ ## [0.5.8] - 2023-09-13
224
+
225
+ Исправлена ошибка добавления в описание асинхронной задачи списка выгруженных сущностей
226
+ BaseExportLatestEntitiesData._set_description_to_async_task.
227
+
228
+ ### Исправлено
229
+
230
+ - [EDUSCHL-20334](https://jira.bars.group/browse/EDUSCHL-20334)
231
+ PATCH - Баг с обновлением поля description в BaseExportLatestEntitiesData._set_description_to_async_task.
232
+
223
233
  ## [0.5.7] - 2023-09-12
224
234
 
225
235
  Баг фикс и дополнение поведения BaseExportLatestEntitiesData.
@@ -69,7 +69,7 @@ edu_rdm_integration/collect_data/non_calculated/base/tests.py,sha256=MoRY-a75Ow-
69
69
  edu_rdm_integration/collect_data/non_calculated/base/validators.py,sha256=0YvnfrfK1iFcZVSB-M-Xv82tIjYxEU_BwLofAEuGVW4,973
70
70
  edu_rdm_integration/export_data/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
71
71
  edu_rdm_integration/export_data/consts.py,sha256=Z6Uho8oViMc0t1tyQFZfrPFBwPx6KnhUf_iZ0qgob8o,16
72
- edu_rdm_integration/export_data/export.py,sha256=mqx5X3nSAfl-DqiDchG5hNIJM6e0H96u3Wu9Mq5zpTw,14800
72
+ edu_rdm_integration/export_data/export.py,sha256=jqJYXg-Vm_IwkOxposZKk5QY8d4aBhNmGJOw4PRFJjk,14935
73
73
  edu_rdm_integration/export_data/generators.py,sha256=huonSRK5arfBzU09BnLAHC7AsSFYU0sCz5utCtejdJk,3950
74
74
  edu_rdm_integration/export_data/strategies.py,sha256=NcI2VsDfAmm9k-Nul6LZkSxruCmo7B-XH7wzgW6-vfE,6718
75
75
  edu_rdm_integration/export_data/base/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -95,9 +95,9 @@ edu_rdm_integration/management/commands/export_entities_data.py,sha256=Mas1zwsH-
95
95
  edu_rdm_integration/migrations/0001_initial.py,sha256=toNuYoHZePe5wJ6AKEW9oPOdt2OefmxDEDDJGYQIrFk,18719
96
96
  edu_rdm_integration/migrations/0002_init_data_uploadstatus.py,sha256=kht966YNuDbC3qTGrcWswJPsVuAtNO59Ck15G2eS2bU,944
97
97
  edu_rdm_integration/migrations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
98
- edu_rdm_integration-0.5.7.dist-info/LICENSE,sha256=uw43Gjjj-1vXWCItfSrNDpbejnOwZMrNerUh8oWbq8Q,3458
99
- edu_rdm_integration-0.5.7.dist-info/METADATA,sha256=8WDGdtGRObcynJPKKJ-WpYrvEaDHn0LAu7eSvGFB6Es,26697
100
- edu_rdm_integration-0.5.7.dist-info/WHEEL,sha256=pkctZYzUS4AYVn6dJ-7367OJZivF2e8RA9b_ZBjif18,92
101
- edu_rdm_integration-0.5.7.dist-info/namespace_packages.txt,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
102
- edu_rdm_integration-0.5.7.dist-info/top_level.txt,sha256=nRJV0O14UtNE-jGIYG03sohgFnZClvf57H5m6VBXe9Y,20
103
- edu_rdm_integration-0.5.7.dist-info/RECORD,,
98
+ edu_rdm_integration-0.5.8.dist-info/LICENSE,sha256=uw43Gjjj-1vXWCItfSrNDpbejnOwZMrNerUh8oWbq8Q,3458
99
+ edu_rdm_integration-0.5.8.dist-info/METADATA,sha256=oZOtI1PqMYci7BAdkSw16is1fA-1EjmIz6C2qJwCGGk,27170
100
+ edu_rdm_integration-0.5.8.dist-info/WHEEL,sha256=pkctZYzUS4AYVn6dJ-7367OJZivF2e8RA9b_ZBjif18,92
101
+ edu_rdm_integration-0.5.8.dist-info/namespace_packages.txt,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
102
+ edu_rdm_integration-0.5.8.dist-info/top_level.txt,sha256=nRJV0O14UtNE-jGIYG03sohgFnZClvf57H5m6VBXe9Y,20
103
+ edu_rdm_integration-0.5.8.dist-info/RECORD,,