refactor(mapping):not push

This commit is contained in:
Angelina Tingaeva 2023-11-24 23:43:18 +05:00
parent 67ced5c4db
commit 8c39c31f43

View File

@ -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'],