edu-rdm-integration 3.5.1__py3-none-any.whl → 3.5.2.1__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.
- edu_rdm_integration/collect_and_export_data/migrations/0002_auto_20250204_1413.py +26 -0
- edu_rdm_integration/collect_data/base/mixins.py +2 -1
- edu_rdm_integration/management/commands/check_upload_status.py +4 -2
- edu_rdm_integration/models.py +1 -3
- edu_rdm_integration/uploader_log/managers.py +2 -1
- {edu_rdm_integration-3.5.1.dist-info → edu_rdm_integration-3.5.2.1.dist-info}/METADATA +32 -2
- {edu_rdm_integration-3.5.1.dist-info → edu_rdm_integration-3.5.2.1.dist-info}/RECORD +11 -10
- {edu_rdm_integration-3.5.1.dist-info → edu_rdm_integration-3.5.2.1.dist-info}/LICENSE +0 -0
- {edu_rdm_integration-3.5.1.dist-info → edu_rdm_integration-3.5.2.1.dist-info}/WHEEL +0 -0
- {edu_rdm_integration-3.5.1.dist-info → edu_rdm_integration-3.5.2.1.dist-info}/namespace_packages.txt +0 -0
- {edu_rdm_integration-3.5.1.dist-info → edu_rdm_integration-3.5.2.1.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,26 @@
|
|
1
|
+
# Generated by Django 3.2.23 on 2025-02-04 14:13
|
2
|
+
|
3
|
+
from django.db import migrations, models
|
4
|
+
|
5
|
+
|
6
|
+
class Migration(migrations.Migration):
|
7
|
+
|
8
|
+
dependencies = [
|
9
|
+
('rdm_collect_and_export_data', '0001_initial'),
|
10
|
+
]
|
11
|
+
|
12
|
+
operations = [
|
13
|
+
migrations.AlterModelOptions(
|
14
|
+
name='edurdmcollectdatacommandprogress',
|
15
|
+
options={'verbose_name': 'Задача по сбору данных', 'verbose_name_plural': 'Задачи по сбору данных'},
|
16
|
+
),
|
17
|
+
migrations.AlterModelOptions(
|
18
|
+
name='edurdmexportdatacommandprogress',
|
19
|
+
options={'verbose_name': 'Команда экспорта данных', 'verbose_name_plural': 'Команды экспорта данных'},
|
20
|
+
),
|
21
|
+
migrations.AlterField(
|
22
|
+
model_name='edurdmcollectdatacommandprogress',
|
23
|
+
name='institute_ids',
|
24
|
+
field=models.JSONField(blank=True, default=list, null=True, verbose_name='id учебного заведения'),
|
25
|
+
),
|
26
|
+
]
|
@@ -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]
|
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)
|
edu_rdm_integration/models.py
CHANGED
@@ -9,9 +9,6 @@ from typing import (
|
|
9
9
|
Optional,
|
10
10
|
)
|
11
11
|
|
12
|
-
from django.contrib.postgres.fields import (
|
13
|
-
JSONField,
|
14
|
-
)
|
15
12
|
from django.db.models import (
|
16
13
|
CASCADE,
|
17
14
|
PROTECT,
|
@@ -27,6 +24,7 @@ from django.db.models import (
|
|
27
24
|
PositiveSmallIntegerField,
|
28
25
|
SmallIntegerField,
|
29
26
|
UUIDField,
|
27
|
+
JSONField,
|
30
28
|
)
|
31
29
|
from django.utils import (
|
32
30
|
timezone,
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: edu-rdm-integration
|
3
|
-
Version: 3.5.1
|
3
|
+
Version: 3.5.2.1
|
4
4
|
Summary: Интеграция с Региональной витриной данных
|
5
5
|
Home-page:
|
6
6
|
Download-URL:
|
@@ -24,7 +24,7 @@ Requires-Dist: pip <24,>=23.2.1
|
|
24
24
|
Requires-Dist: setuptools <70,>=47.3.1
|
25
25
|
Requires-Dist: wheel <0.42,>=0.37.1
|
26
26
|
Requires-Dist: transliterate <2
|
27
|
-
Requires-Dist: Django <3.3,>=
|
27
|
+
Requires-Dist: Django <3.3,>=3.1
|
28
28
|
Requires-Dist: celery <5.3,>=4.4.7
|
29
29
|
Requires-Dist: asyncpg ==0.23.0
|
30
30
|
Requires-Dist: educommon <4,>=3.11.0
|
@@ -301,6 +301,36 @@ Requires-Dist: uploader-client <1,>=0.2.1
|
|
301
301
|
### Удалено
|
302
302
|
|
303
303
|
|
304
|
+
## [3.5.2.1] - 2025-02-11
|
305
|
+
|
306
|
+
Внесено исправление в BaseIgnoreLogMixin, в части работы метода _exclude_logs.
|
307
|
+
Исправление ошибки в реестре Журнал Логов РВД.
|
308
|
+
|
309
|
+
### Изменено
|
310
|
+
|
311
|
+
- [EDUSCHL-23160](https://jira.bars.group/browse/EDUSCHL-23160)
|
312
|
+
PATCH Внесено исправление в BaseIgnoreLogMixin, в части работы метода _exclude_logs.
|
313
|
+
|
314
|
+
### Исправлено
|
315
|
+
|
316
|
+
- [EDUSCHL-23174](https://jira.bars.group/browse/EDUSCHL-23174)
|
317
|
+
PATCH Для менеджера UploaderClientLogManager с аннотацией поля attachment_file добавлен output_field=CharField().
|
318
|
+
|
319
|
+
- [EDUSCHL-23178](https://jira.bars.group/browse/EDUSCHL-23178)
|
320
|
+
PATCH Исправлена команда check_upload_status, в части использования UploadStatusHelper.
|
321
|
+
|
322
|
+
|
323
|
+
## [3.5.2] - 2025-02-04
|
324
|
+
|
325
|
+
Изменён тип поля institute_ids с django.contrib.postgres.fields.JSONField (поддержка до Django 4.0.)
|
326
|
+
на django.db.models.JSONField (поддержка с Django 3.1.0).
|
327
|
+
|
328
|
+
### Изменено
|
329
|
+
|
330
|
+
- [EDUKNDG-15190](https://jira.bars.group/browse/EDUKNDG-15190)
|
331
|
+
Для модели AbstractCollectDataCommandProgress изменён тип поля institute_ids на django.db.models.JSONField.
|
332
|
+
|
333
|
+
|
304
334
|
## [3.5.1] - 2025-02-04
|
305
335
|
|
306
336
|
Изменена очередность обновления моделей при сборе. Обработка связанных моделей производится ранее основной.
|
@@ -8,7 +8,7 @@ edu_rdm_integration/entities.py,sha256=mhVeB88A-VD5IAzZCNeI1qnkvNoZ8LPiLBdqk1yA3
|
|
8
8
|
edu_rdm_integration/enums.py,sha256=T3Mu5D-CbKO3BSg16MPPnIPlcc_YGLYR-ThS8dzl9gg,4246
|
9
9
|
edu_rdm_integration/helpers.py,sha256=pLWkIUZK0M5FZZrTAfe80bV-VZIpBgwxnXBAmYFfFw0,14561
|
10
10
|
edu_rdm_integration/mapping.py,sha256=1B6TsC4Os9wiM8L8BChnCNv_iWqjeWu3bdDsqKVsId0,616
|
11
|
-
edu_rdm_integration/models.py,sha256=
|
11
|
+
edu_rdm_integration/models.py,sha256=e1n-1UuG0Okhx6NSxD-m3iSlvStDmBdJs-4HiBa8aTQ,32985
|
12
12
|
edu_rdm_integration/redis_cache.py,sha256=SP_rcL5t6PTVLOnEYn_NTX0Z666VdZT4By2pyED24Z4,1537
|
13
13
|
edu_rdm_integration/signals.py,sha256=3eRlpkDcFCF6TN80-QM8yBYLcyozzcmoPjz6r4_ApWg,73
|
14
14
|
edu_rdm_integration/storages.py,sha256=G4Q4tIyJdEyb9ka551PADCFIm66bpsJe9VBRcvQhLMI,6745
|
@@ -37,6 +37,7 @@ edu_rdm_integration/collect_and_export_data/apps.py,sha256=fAcctcjxWP4Gd0Qr3YrQk
|
|
37
37
|
edu_rdm_integration/collect_and_export_data/models.py,sha256=TGm-hM-1aDhVcFPy0PTC3yNczoZGF4ZmIdr0Y9s8CfU,2038
|
38
38
|
edu_rdm_integration/collect_and_export_data/utils.py,sha256=lBWqqhLgMyz2IQN7r9zugRHpYNBbeVp59G0WBxEsmj8,3546
|
39
39
|
edu_rdm_integration/collect_and_export_data/migrations/0001_initial.py,sha256=UkoaXzh3tokZ8QdCdB09v3rRZfcHhvEwNMuj3mQIB74,4714
|
40
|
+
edu_rdm_integration/collect_and_export_data/migrations/0002_auto_20250204_1413.py,sha256=8kNc8IHzEiIKpIv1oT6rytV80RJrikrEnlvRFpaFRWc,1017
|
40
41
|
edu_rdm_integration/collect_and_export_data/migrations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
41
42
|
edu_rdm_integration/collect_data/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
42
43
|
edu_rdm_integration/collect_data/collect.py,sha256=-u2ER3MZOLtNRmdtYwimpQqFsEBbJ-8Wsy-AjQeK168,11868
|
@@ -48,7 +49,7 @@ edu_rdm_integration/collect_data/base/caches.py,sha256=_Ja0q3hPSE_Mq-MCZN-1jr0Wv
|
|
48
49
|
edu_rdm_integration/collect_data/base/functions.py,sha256=E1vYmC8F8NM5cBB5SGQEpluHrMynpjf3Ek3s0HsbxwY,2998
|
49
50
|
edu_rdm_integration/collect_data/base/helpers.py,sha256=MsHEzkUl1KVMIxGfDkhcItXLxQNuNNOhN5tzTcPm0NQ,982
|
50
51
|
edu_rdm_integration/collect_data/base/managers.py,sha256=hza8kugR9hbLK3LU8DBfF61ul7mPPl5pPm530QMjj0k,6143
|
51
|
-
edu_rdm_integration/collect_data/base/mixins.py,sha256=
|
52
|
+
edu_rdm_integration/collect_data/base/mixins.py,sha256=kwZ77dc5dCmHVGCN6JMslpyfXfEEoks7vmXH-CzezJc,8538
|
52
53
|
edu_rdm_integration/collect_data/base/runners.py,sha256=Mf5Lux6IWWqKd798v149OjqfBWiDtigeFd701HSRBGg,1565
|
53
54
|
edu_rdm_integration/collect_data/calculated/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
54
55
|
edu_rdm_integration/collect_data/calculated/strategies.py,sha256=nppmheuzhF8H7JcfEhEZCmHI0eeRj8BbrLGNF0nsoa0,7619
|
@@ -144,7 +145,7 @@ edu_rdm_integration/management/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5
|
|
144
145
|
edu_rdm_integration/management/general.py,sha256=hmZGp9EKpSAm-VuhXNpW_ETA5TWi3Y-caSj7XB2vtuM,12957
|
145
146
|
edu_rdm_integration/management/commands/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
146
147
|
edu_rdm_integration/management/commands/async_fix_attachment_size.py,sha256=9Aa_B04R9VDMY4G9s1DIteWPX7QhOFdm0zReMJWbwbw,9838
|
147
|
-
edu_rdm_integration/management/commands/check_upload_status.py,sha256=
|
148
|
+
edu_rdm_integration/management/commands/check_upload_status.py,sha256=6A04WcIKfoF_Hemdh0xT877WUgqP2qcxX1vAs97_b1E,3882
|
148
149
|
edu_rdm_integration/management/commands/collect_latest_models_data.py,sha256=4ObBFqYMkX5v1saV9V7PivYBm0RMcDCGNlMGx77UAjs,750
|
149
150
|
edu_rdm_integration/management/commands/collect_models_data.py,sha256=11RshcQiXk6Flz-8oiFuM5KSZ_8_c1111qkqmyiu5sw,1022
|
150
151
|
edu_rdm_integration/management/commands/datamart_status.py,sha256=ImpXHwRnbcgE5pcz2_QixfEQPSLU6WH1V8Vm7xnPidU,1211
|
@@ -174,12 +175,12 @@ edu_rdm_integration/uploader_log/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRk
|
|
174
175
|
edu_rdm_integration/uploader_log/actions.py,sha256=2ckgI1PKgVcLYkbhtbK_bfv_6lDxpiIRSk1uPCIL-gg,6755
|
175
176
|
edu_rdm_integration/uploader_log/apps.py,sha256=tYJj4-sDlq8fLOSvw18L_yys7SILpTKWNmE2Qug6GnE,265
|
176
177
|
edu_rdm_integration/uploader_log/enums.py,sha256=rgSO3BL2rh2xpfm0Pt4waQW8fB1VMJLdsGmr3SXwH_U,266
|
177
|
-
edu_rdm_integration/uploader_log/managers.py,sha256=
|
178
|
+
edu_rdm_integration/uploader_log/managers.py,sha256=OFdToWV8qhdfeGNpd-UWAmSEISzixmVQ6LF75EW7gzA,3248
|
178
179
|
edu_rdm_integration/uploader_log/ui.py,sha256=YM9Buqp2wxE95Wf5gvAATBzuYzDOossK1sEmvFk07cI,2110
|
179
180
|
edu_rdm_integration/uploader_log/templates/ui-js/object-grid-buttons.js,sha256=2xyGe0wdVokM0RhpzRzcRvJPBkBmPe3SlZry4oP4Nzs,6201
|
180
|
-
edu_rdm_integration-3.5.1.dist-info/LICENSE,sha256=uw43Gjjj-1vXWCItfSrNDpbejnOwZMrNerUh8oWbq8Q,3458
|
181
|
-
edu_rdm_integration-3.5.1.dist-info/METADATA,sha256=
|
182
|
-
edu_rdm_integration-3.5.1.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
|
183
|
-
edu_rdm_integration-3.5.1.dist-info/namespace_packages.txt,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
184
|
-
edu_rdm_integration-3.5.1.dist-info/top_level.txt,sha256=nRJV0O14UtNE-jGIYG03sohgFnZClvf57H5m6VBXe9Y,20
|
185
|
-
edu_rdm_integration-3.5.1.dist-info/RECORD,,
|
181
|
+
edu_rdm_integration-3.5.2.1.dist-info/LICENSE,sha256=uw43Gjjj-1vXWCItfSrNDpbejnOwZMrNerUh8oWbq8Q,3458
|
182
|
+
edu_rdm_integration-3.5.2.1.dist-info/METADATA,sha256=YrQo2_YtbevMz85WBv_ISYiwxShLU4j3hUHvez7Q-Zc,79628
|
183
|
+
edu_rdm_integration-3.5.2.1.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
|
184
|
+
edu_rdm_integration-3.5.2.1.dist-info/namespace_packages.txt,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
185
|
+
edu_rdm_integration-3.5.2.1.dist-info/top_level.txt,sha256=nRJV0O14UtNE-jGIYG03sohgFnZClvf57H5m6VBXe9Y,20
|
186
|
+
edu_rdm_integration-3.5.2.1.dist-info/RECORD,,
|
File without changes
|
File without changes
|
{edu_rdm_integration-3.5.1.dist-info → edu_rdm_integration-3.5.2.1.dist-info}/namespace_packages.txt
RENAMED
File without changes
|
File without changes
|