feat: add ROPK sanctions file source
All checks were successful
CI/CD Pipeline / Quality Gate (push) Successful in 1m10s
CI/CD Pipeline / Build and Push Images (push) Successful in 18s
CI/CD Pipeline / Internal Notify (push) Successful in 1s
CI/CD Pipeline / Deploy Dev via Compose (push) Successful in 31s

This commit is contained in:
2026-08-20 15:50:04 +02:00
parent f2e36a8991
commit 7c50cf82ad
23 changed files with 1520 additions and 41 deletions

View File

@@ -329,6 +329,25 @@ PARSER_SOURCES: dict[str, ParserSourceDescriptor] = {
supports_refresh=False,
admin_only=True,
),
"ropk_sanctions": ParserSourceDescriptor(
key="ropk_sanctions",
source=ParserLoadLog.Source.ROPK_SANCTIONS,
title="РОПК — Санкции",
agency="РОПК",
data_scope="Санкционные признаки организаций по семи перечням",
task_name="apps.parsers.tasks.parse_ropk_sanctions",
mode="manual_upload",
access_method="admin_upload",
parser_strategy="validated_xlsx_snapshot",
source_notes=(
"XLSX загружается вручную; строки связываются только с организациями "
"канонического реестра, неразрешенные строки сохраняются в карантине."
),
supports_file_upload=True,
upload_route="parsers/upload/ropk_sanctions",
supports_refresh=False,
admin_only=True,
),
}