From 8c39c31f434871ac69fa0081a1d0054da2ff247f Mon Sep 17 00:00:00 2001 From: Angelina Tingaeva Date: Fri, 24 Nov 2023 23:43:18 +0500 Subject: [PATCH] refactor(mapping):not push --- mapping.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mapping.py b/mapping.py index a2b2438..b6ac4ff 100644 --- a/mapping.py +++ b/mapping.py @@ -8,7 +8,7 @@ from yandex_tracker_client import TrackerClient YANDEX_TRACKER_TOKEN = 'y0_AgAAAABAmFP8AArTqQAAAADyyFLmOoHqPprnRKag6B8okqjoDx2m9P0' ORG_ID = '35d164dcf81e48f2b6a532f4badddd33' -TESTIMPORT = 'https://tracker.yandex.ru/pages/projects/5' +# TESTIMPORT = 'https://tracker.yandex.ru/pages/projects/5' client = TrackerClient( @@ -43,7 +43,7 @@ def transform_data(data): 'description': task['notes'], 'createdAt': task['created_at'], 'deadline': task['due_on'], - 'assignee': task['assignee'], + # 'assignee': task['assignee'], # 'milestone': task['section'], # 'memberships': task['memberships'], # 'parent': task[''], @@ -70,7 +70,7 @@ def create_tasks_in_tracker(data): 'description': task['description'], 'createdAt': task['createdAt'], 'deadline': task['deadline'], - 'assignee': task['assignee'], + # 'assignee': task['assignee'], # 'milestone': task['milestone'], # 'memberships': task['memberships'], # 'parent': task['parent'],