From b3175bda4e732dead405d0127038cdc4ea0de3f7 Mon Sep 17 00:00:00 2001 From: Angelina Tingaeva Date: Fri, 24 Nov 2023 13:33:17 +0500 Subject: [PATCH] refactor(mapping): add TESTIMPORT --- mapping.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mapping.py b/mapping.py index d0c56bb..02d47cf 100644 --- a/mapping.py +++ b/mapping.py @@ -8,6 +8,8 @@ from yandex_tracker_client import TrackerClient YANDEX_TRACKER_TOKEN = 'y0_AgAAAABAmFP8AArTqQAAAADyyFLmOoHqPprnRKag6B8okqjoDx2m9P0' ORG_ID = '35d164dcf81e48f2b6a532f4badddd33' +TESTIMPORT = 'https://tracker.yandex.ru/pages/projects/5' + client = TrackerClient( token='YANDEX_TRACKER_TOKEN', @@ -63,7 +65,7 @@ def create_tasks_in_tracker(data): } for task in data: payload = { - 'queue': 'TESTIMPORT', # Вынести в переменную + 'queue': 'TESTIMPORT', # Вынести в переменную 'summary': task['summary'], 'description': task['description'], 'createdAt': task['createdAt'],