edu-rdm-integration 3.6.0__py3-none-any.whl → 3.7.0__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/helpers.py +1 -2
- edu_rdm_integration/migrations/0017_delete_uploaddatacommand.py +16 -0
- edu_rdm_integration/models.py +0 -39
- {edu_rdm_integration-3.6.0.dist-info → edu_rdm_integration-3.7.0.dist-info}/METADATA +1 -1
- {edu_rdm_integration-3.6.0.dist-info → edu_rdm_integration-3.7.0.dist-info}/RECORD +8 -7
- {edu_rdm_integration-3.6.0.dist-info → edu_rdm_integration-3.7.0.dist-info}/WHEEL +0 -0
- {edu_rdm_integration-3.6.0.dist-info → edu_rdm_integration-3.7.0.dist-info}/licenses/LICENSE +0 -0
- {edu_rdm_integration-3.6.0.dist-info → edu_rdm_integration-3.7.0.dist-info}/top_level.txt +0 -0
edu_rdm_integration/helpers.py
CHANGED
@@ -58,7 +58,6 @@ from edu_rdm_integration.models import (
|
|
58
58
|
ExportingDataStageStatus,
|
59
59
|
ExportingDataSubStageStatus,
|
60
60
|
ExportingDataSubStageUploaderClientLog,
|
61
|
-
UploadDataCommand,
|
62
61
|
UploadStatusRequestLog,
|
63
62
|
)
|
64
63
|
from edu_rdm_integration.redis_cache import (
|
@@ -321,7 +320,7 @@ class Graph:
|
|
321
320
|
|
322
321
|
|
323
322
|
def save_command_log_link(
|
324
|
-
command:
|
323
|
+
command: AbstractExportDataCommandProgress,
|
325
324
|
log_dir: str
|
326
325
|
) -> None:
|
327
326
|
"""Сохраняет ссылку на лог команды."""
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# Generated by Django 3.2.24 on 2025-05-07 19:50
|
2
|
+
|
3
|
+
from django.db import migrations
|
4
|
+
|
5
|
+
|
6
|
+
class Migration(migrations.Migration):
|
7
|
+
|
8
|
+
dependencies = [
|
9
|
+
('edu_rdm_integration', '0016_transferredentity_queue_level'),
|
10
|
+
]
|
11
|
+
|
12
|
+
operations = [
|
13
|
+
migrations.DeleteModel(
|
14
|
+
name='UploadDataCommand',
|
15
|
+
),
|
16
|
+
]
|
edu_rdm_integration/models.py
CHANGED
@@ -969,42 +969,3 @@ class ExportingDataSubStageEntity(BaseObjectModel):
|
|
969
969
|
db_table = 'rdm_exporting_data_sub_stage_entity'
|
970
970
|
verbose_name = 'Связь сущности и подэтапа выгрузки'
|
971
971
|
verbose_name_plural = 'Связи сущности и подэтапа выгрузки'
|
972
|
-
|
973
|
-
|
974
|
-
class UploadDataCommand(ReprStrPreModelMixin, BaseObjectModel):
|
975
|
-
"""Модель, хранящая данные для формирования и отслеживания асинхронной задачи по отправке данных в витрину."""
|
976
|
-
|
977
|
-
task = ForeignKey(
|
978
|
-
to='async_task.RunningTask',
|
979
|
-
verbose_name='Асинхронная задача',
|
980
|
-
blank=True,
|
981
|
-
null=True,
|
982
|
-
on_delete=SET_NULL,
|
983
|
-
)
|
984
|
-
logs_link = FileField(
|
985
|
-
upload_to=get_data_command_progress_attachment_path,
|
986
|
-
max_length=255,
|
987
|
-
verbose_name='Ссылка на файл логов',
|
988
|
-
)
|
989
|
-
type = PositiveSmallIntegerField( # noqa: A003
|
990
|
-
verbose_name='Тип команды',
|
991
|
-
choices=CommandType.get_choices(),
|
992
|
-
)
|
993
|
-
entity = ForeignKey(
|
994
|
-
to=RegionalDataMartEntityEnum,
|
995
|
-
verbose_name='Сущность РВД',
|
996
|
-
on_delete=PROTECT,
|
997
|
-
)
|
998
|
-
created = DateTimeField(
|
999
|
-
verbose_name='Дата создания',
|
1000
|
-
default=timezone.now,
|
1001
|
-
)
|
1002
|
-
generation_id = UUIDField(
|
1003
|
-
'Идентификатор генерации',
|
1004
|
-
default=uuid.uuid4,
|
1005
|
-
)
|
1006
|
-
|
1007
|
-
class Meta:
|
1008
|
-
db_table = 'rdm_upload_data_command'
|
1009
|
-
verbose_name = 'Команда отправки данных в витрину'
|
1010
|
-
verbose_name_plural = 'Команды отправки данных в витрину'
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: edu-rdm-integration
|
3
|
-
Version: 3.
|
3
|
+
Version: 3.7.0
|
4
4
|
Summary: Интеграция с Региональной витриной данных
|
5
5
|
Author-email: BARS Group <education_dev@bars.group>
|
6
6
|
Project-URL: Homepage, https://stash.bars-open.ru/projects/EDUBASE/repos/edu_rdm_integration/browse
|
@@ -6,9 +6,9 @@ edu_rdm_integration/base.py,sha256=1NgLZd0KZRRgUcVfufVIpDJU2coT2zksFGDaX4fWqps,5
|
|
6
6
|
edu_rdm_integration/consts.py,sha256=QnL9TqTKuJ0MrysqtqHvtCwOFbS1T7iwcfUZGjVsZTU,1166
|
7
7
|
edu_rdm_integration/entities.py,sha256=mhVeB88A-VD5IAzZCNeI1qnkvNoZ8LPiLBdqk1yA3Jc,14541
|
8
8
|
edu_rdm_integration/enums.py,sha256=RpQIZM1iSgFbYDHfwrbT-BwgRf-N9ZZnJgx8UyRFQ2o,4978
|
9
|
-
edu_rdm_integration/helpers.py,sha256=
|
9
|
+
edu_rdm_integration/helpers.py,sha256=qwSyeIDBVEhdYG9raf3uLZPd1_2eXuNAaosSR7bLa50,14759
|
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=lrlJUAJJr29rrNwNdyCkswyRGmnm8XVDQDArWVO2ivc,31907
|
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
|
@@ -168,6 +168,7 @@ edu_rdm_integration/migrations/0013_set_attachment_size.py,sha256=Gol8T137gdaCTS
|
|
168
168
|
edu_rdm_integration/migrations/0014_uploaddatacommand.py,sha256=Hh0vKKiGgKOvY1kBAcmway4dSYUXwVArHAc9YrsjCIU,2079
|
169
169
|
edu_rdm_integration/migrations/0015_set_exporting_sub_stage_status.py,sha256=zVe2baNq8JYzMPRmtpAwplmgKHOP3lwMKHLo_yRz0QE,790
|
170
170
|
edu_rdm_integration/migrations/0016_transferredentity_queue_level.py,sha256=xMnDYE5_fK8Sdwq-1GwJlJZlVoz4e4yml0SDueKcbUA,587
|
171
|
+
edu_rdm_integration/migrations/0017_delete_uploaddatacommand.py,sha256=S-sUKDGC6PhcXybZ84ZFXPjB_Dnw4TMVzlZH5Lb_DdU,330
|
171
172
|
edu_rdm_integration/migrations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
172
173
|
edu_rdm_integration/registry/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
173
174
|
edu_rdm_integration/registry/actions.py,sha256=-CHe95jbxO9JAEaOx6nV6Avn75ynppvZRWN8YPc6c6s,6074
|
@@ -180,8 +181,8 @@ edu_rdm_integration/uploader_log/enums.py,sha256=rgSO3BL2rh2xpfm0Pt4waQW8fB1VMJL
|
|
180
181
|
edu_rdm_integration/uploader_log/managers.py,sha256=OFdToWV8qhdfeGNpd-UWAmSEISzixmVQ6LF75EW7gzA,3248
|
181
182
|
edu_rdm_integration/uploader_log/ui.py,sha256=YM9Buqp2wxE95Wf5gvAATBzuYzDOossK1sEmvFk07cI,2110
|
182
183
|
edu_rdm_integration/uploader_log/templates/ui-js/object-grid-buttons.js,sha256=2xyGe0wdVokM0RhpzRzcRvJPBkBmPe3SlZry4oP4Nzs,6201
|
183
|
-
edu_rdm_integration-3.
|
184
|
-
edu_rdm_integration-3.
|
185
|
-
edu_rdm_integration-3.
|
186
|
-
edu_rdm_integration-3.
|
187
|
-
edu_rdm_integration-3.
|
184
|
+
edu_rdm_integration-3.7.0.dist-info/licenses/LICENSE,sha256=uw43Gjjj-1vXWCItfSrNDpbejnOwZMrNerUh8oWbq8Q,3458
|
185
|
+
edu_rdm_integration-3.7.0.dist-info/METADATA,sha256=_tvMmulyEcH3b2JdqqSmgMvmK-JWvZbfs17iFBCvF1w,27415
|
186
|
+
edu_rdm_integration-3.7.0.dist-info/WHEEL,sha256=1tXe9gY0PYatrMPMDd6jXqjfpz_B-Wqm32CPfRC58XU,91
|
187
|
+
edu_rdm_integration-3.7.0.dist-info/top_level.txt,sha256=nRJV0O14UtNE-jGIYG03sohgFnZClvf57H5m6VBXe9Y,20
|
188
|
+
edu_rdm_integration-3.7.0.dist-info/RECORD,,
|
File without changes
|
{edu_rdm_integration-3.6.0.dist-info → edu_rdm_integration-3.7.0.dist-info}/licenses/LICENSE
RENAMED
File without changes
|
File without changes
|