edu-rdm-integration 3.5.3__py3-none-any.whl → 3.5.5__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.
@@ -173,7 +173,8 @@ class BaseIgnoreLogMixin:
173
173
  def _exclude_logs(self, model_label: str, object_model_ids: Iterable[int]):
174
174
  """Исключаем логи из обработки."""
175
175
  for object_id in object_model_ids:
176
- self.logs[model_label].pop(object_id)
176
+ if object_id in self.logs[model_label]:
177
+ del self.logs[model_label][object_id]
177
178
 
178
179
  def _ignore_logs(self):
179
180
  """
@@ -18,7 +18,9 @@ from typing import (
18
18
  TYPE_CHECKING,
19
19
  Any,
20
20
  )
21
-
21
+ from django.core.cache import (
22
+ cache,
23
+ )
22
24
  from django.core.management.base import (
23
25
  BaseCommand,
24
26
  )
@@ -94,4 +96,4 @@ class Command(BaseCommand):
94
96
  file_upload_status=FileUploadStatusEnum.IN_PROGRESS,
95
97
  )
96
98
 
97
- UploadStatusHelper(in_progress_attachment_uploads).run(thread_count=thread_count)
99
+ UploadStatusHelper(in_progress_attachment_uploads, cache).run(thread_count=thread_count)
@@ -45,7 +45,8 @@ class UploaderClientLogManager(Manager):
45
45
  request__icontains='GET',
46
46
  then=F('upload_status_request_log__upload__attachment__attachment'),
47
47
  ),
48
- default=Value('')
48
+ default=Value(''),
49
+ output_field = CharField(),
49
50
  ),
50
51
  status_code=Case(
51
52
  When(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: edu-rdm-integration
3
- Version: 3.5.3
3
+ Version: 3.5.5
4
4
  Summary: Интеграция с Региональной витриной данных
5
5
  Home-page:
6
6
  Download-URL:
@@ -301,6 +301,29 @@ Requires-Dist: uploader-client <1,>=0.2.1
301
301
  ### Удалено
302
302
 
303
303
 
304
+ ## [3.5.5] - 2025-02-11
305
+
306
+ Исправление ошибки в реестре Журнал Логов РВД.
307
+
308
+ ### Исправлено
309
+
310
+ - [EDUSCHL-23174](https://jira.bars.group/browse/EDUSCHL-23174)
311
+ PATCH Для менеджера UploaderClientLogManager с аннотацией поля attachment_file добавлен output_field=CharField().
312
+
313
+ - [EDUSCHL-23178](https://jira.bars.group/browse/EDUSCHL-23178)
314
+ PATCH Исправлена команда check_upload_status, в части использования UploadStatusHelper.
315
+
316
+
317
+ ## [3.5.4] - 2025-02-07
318
+
319
+ Внесено исправление в BaseIgnoreLogMixin, в части работы метода _exclude_logs.
320
+
321
+ ### Изменено
322
+
323
+ - [EDUSCHL-23160](https://jira.bars.group/browse/EDUSCHL-23160)
324
+ PATCH Внесено исправление в BaseIgnoreLogMixin, в части работы метода _exclude_logs.
325
+
326
+
304
327
  ## [3.5.3] - 2025-01-29
305
328
 
306
329
  Изменена периодическая задача UploadDataAsyncTask.
@@ -49,7 +49,7 @@ edu_rdm_integration/collect_data/base/caches.py,sha256=_Ja0q3hPSE_Mq-MCZN-1jr0Wv
49
49
  edu_rdm_integration/collect_data/base/functions.py,sha256=E1vYmC8F8NM5cBB5SGQEpluHrMynpjf3Ek3s0HsbxwY,2998
50
50
  edu_rdm_integration/collect_data/base/helpers.py,sha256=MsHEzkUl1KVMIxGfDkhcItXLxQNuNNOhN5tzTcPm0NQ,982
51
51
  edu_rdm_integration/collect_data/base/managers.py,sha256=hza8kugR9hbLK3LU8DBfF61ul7mPPl5pPm530QMjj0k,6143
52
- edu_rdm_integration/collect_data/base/mixins.py,sha256=K3HOWaxAE3Myzh8CgTm-ZKE7_hbW9p6IcCnvtbDzlM4,8482
52
+ edu_rdm_integration/collect_data/base/mixins.py,sha256=kwZ77dc5dCmHVGCN6JMslpyfXfEEoks7vmXH-CzezJc,8538
53
53
  edu_rdm_integration/collect_data/base/runners.py,sha256=Mf5Lux6IWWqKd798v149OjqfBWiDtigeFd701HSRBGg,1565
54
54
  edu_rdm_integration/collect_data/calculated/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
55
55
  edu_rdm_integration/collect_data/calculated/strategies.py,sha256=nppmheuzhF8H7JcfEhEZCmHI0eeRj8BbrLGNF0nsoa0,7619
@@ -145,7 +145,7 @@ edu_rdm_integration/management/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5
145
145
  edu_rdm_integration/management/general.py,sha256=hmZGp9EKpSAm-VuhXNpW_ETA5TWi3Y-caSj7XB2vtuM,12957
146
146
  edu_rdm_integration/management/commands/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
147
147
  edu_rdm_integration/management/commands/async_fix_attachment_size.py,sha256=9Aa_B04R9VDMY4G9s1DIteWPX7QhOFdm0zReMJWbwbw,9838
148
- edu_rdm_integration/management/commands/check_upload_status.py,sha256=KDYXzAic6qfTqT8w6EYxKp-4GHmSVVD8Ix82zJ4EhwY,3831
148
+ edu_rdm_integration/management/commands/check_upload_status.py,sha256=6A04WcIKfoF_Hemdh0xT877WUgqP2qcxX1vAs97_b1E,3882
149
149
  edu_rdm_integration/management/commands/collect_latest_models_data.py,sha256=4ObBFqYMkX5v1saV9V7PivYBm0RMcDCGNlMGx77UAjs,750
150
150
  edu_rdm_integration/management/commands/collect_models_data.py,sha256=11RshcQiXk6Flz-8oiFuM5KSZ_8_c1111qkqmyiu5sw,1022
151
151
  edu_rdm_integration/management/commands/datamart_status.py,sha256=ImpXHwRnbcgE5pcz2_QixfEQPSLU6WH1V8Vm7xnPidU,1211
@@ -175,12 +175,12 @@ edu_rdm_integration/uploader_log/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRk
175
175
  edu_rdm_integration/uploader_log/actions.py,sha256=2ckgI1PKgVcLYkbhtbK_bfv_6lDxpiIRSk1uPCIL-gg,6755
176
176
  edu_rdm_integration/uploader_log/apps.py,sha256=tYJj4-sDlq8fLOSvw18L_yys7SILpTKWNmE2Qug6GnE,265
177
177
  edu_rdm_integration/uploader_log/enums.py,sha256=rgSO3BL2rh2xpfm0Pt4waQW8fB1VMJLdsGmr3SXwH_U,266
178
- edu_rdm_integration/uploader_log/managers.py,sha256=y5wTSMzF9hpOpIU_A7nIafL_LBU3QEie6LAYWoB-pBQ,3203
178
+ edu_rdm_integration/uploader_log/managers.py,sha256=OFdToWV8qhdfeGNpd-UWAmSEISzixmVQ6LF75EW7gzA,3248
179
179
  edu_rdm_integration/uploader_log/ui.py,sha256=YM9Buqp2wxE95Wf5gvAATBzuYzDOossK1sEmvFk07cI,2110
180
180
  edu_rdm_integration/uploader_log/templates/ui-js/object-grid-buttons.js,sha256=2xyGe0wdVokM0RhpzRzcRvJPBkBmPe3SlZry4oP4Nzs,6201
181
- edu_rdm_integration-3.5.3.dist-info/LICENSE,sha256=uw43Gjjj-1vXWCItfSrNDpbejnOwZMrNerUh8oWbq8Q,3458
182
- edu_rdm_integration-3.5.3.dist-info/METADATA,sha256=rFFjq8NYc96nAFsrtKZFrjPIV5ikM5_E_KJgDJ89ZpY,79291
183
- edu_rdm_integration-3.5.3.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
184
- edu_rdm_integration-3.5.3.dist-info/namespace_packages.txt,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
185
- edu_rdm_integration-3.5.3.dist-info/top_level.txt,sha256=nRJV0O14UtNE-jGIYG03sohgFnZClvf57H5m6VBXe9Y,20
186
- edu_rdm_integration-3.5.3.dist-info/RECORD,,
181
+ edu_rdm_integration-3.5.5.dist-info/LICENSE,sha256=uw43Gjjj-1vXWCItfSrNDpbejnOwZMrNerUh8oWbq8Q,3458
182
+ edu_rdm_integration-3.5.5.dist-info/METADATA,sha256=5snRB_tVTAg1nQ1xhcnIHbdZ4cA3P77ElM-4EU7QgxM,80191
183
+ edu_rdm_integration-3.5.5.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
184
+ edu_rdm_integration-3.5.5.dist-info/namespace_packages.txt,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
185
+ edu_rdm_integration-3.5.5.dist-info/top_level.txt,sha256=nRJV0O14UtNE-jGIYG03sohgFnZClvf57H5m6VBXe9Y,20
186
+ edu_rdm_integration-3.5.5.dist-info/RECORD,,