brynq-sdk-monday 2.1.0__tar.gz → 2.1.2__tar.gz
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.
- {brynq_sdk_monday-2.1.0 → brynq_sdk_monday-2.1.2}/PKG-INFO +1 -1
- {brynq_sdk_monday-2.1.0 → brynq_sdk_monday-2.1.2}/brynq_sdk_monday/upload_tracket.py +13 -3
- {brynq_sdk_monday-2.1.0 → brynq_sdk_monday-2.1.2}/brynq_sdk_monday.egg-info/PKG-INFO +1 -1
- {brynq_sdk_monday-2.1.0 → brynq_sdk_monday-2.1.2}/setup.py +1 -1
- {brynq_sdk_monday-2.1.0 → brynq_sdk_monday-2.1.2}/brynq_sdk_monday/__init__.py +0 -0
- {brynq_sdk_monday-2.1.0 → brynq_sdk_monday-2.1.2}/brynq_sdk_monday/extract_monday.py +0 -0
- {brynq_sdk_monday-2.1.0 → brynq_sdk_monday-2.1.2}/brynq_sdk_monday/extract_tracket.py +0 -0
- {brynq_sdk_monday-2.1.0 → brynq_sdk_monday-2.1.2}/brynq_sdk_monday.egg-info/SOURCES.txt +0 -0
- {brynq_sdk_monday-2.1.0 → brynq_sdk_monday-2.1.2}/brynq_sdk_monday.egg-info/dependency_links.txt +0 -0
- {brynq_sdk_monday-2.1.0 → brynq_sdk_monday-2.1.2}/brynq_sdk_monday.egg-info/not-zip-safe +0 -0
- {brynq_sdk_monday-2.1.0 → brynq_sdk_monday-2.1.2}/brynq_sdk_monday.egg-info/requires.txt +0 -0
- {brynq_sdk_monday-2.1.0 → brynq_sdk_monday-2.1.2}/brynq_sdk_monday.egg-info/top_level.txt +0 -0
- {brynq_sdk_monday-2.1.0 → brynq_sdk_monday-2.1.2}/setup.cfg +0 -0
|
@@ -80,12 +80,17 @@ class UploadTracket(BrynQ):
|
|
|
80
80
|
"minutes": data['worklogMinutes'],
|
|
81
81
|
"date": data['worklogDate'],
|
|
82
82
|
"item": data['itemId'],
|
|
83
|
-
"user": data['userId']
|
|
83
|
+
"user": data['userId'],
|
|
84
84
|
}
|
|
85
|
+
|
|
86
|
+
if 'worklogCategory' in data:
|
|
87
|
+
base_body["customFields"] = {
|
|
88
|
+
"category": data['worklogCategory']
|
|
89
|
+
}
|
|
90
|
+
|
|
85
91
|
fields_to_update = {}
|
|
86
92
|
|
|
87
93
|
# Add fields that you want to update a dict (adding to body itself is too much text)
|
|
88
|
-
fields_to_update.update({"category": data['worklogCategory']}) if 'worklogCategory' in data else fields_to_update
|
|
89
94
|
fields_to_update.update({"description": data['description']}) if 'description' in data else fields_to_update
|
|
90
95
|
fields_to_update.update({"billableMinutes": data['worklogBillableMinutes']}) if 'worklogBillableMinutes' in data else fields_to_update
|
|
91
96
|
fields_to_update.update({"team": data['team']}) if 'team' in data else fields_to_update
|
|
@@ -115,10 +120,15 @@ class UploadTracket(BrynQ):
|
|
|
115
120
|
"item": data['itemId'],
|
|
116
121
|
"user": data['userId']
|
|
117
122
|
}
|
|
123
|
+
|
|
124
|
+
if 'worklogCategory' in data:
|
|
125
|
+
base_body["customFields"] = {
|
|
126
|
+
"category": data['worklogCategory']
|
|
127
|
+
}
|
|
128
|
+
|
|
118
129
|
fields_to_update = {}
|
|
119
130
|
|
|
120
131
|
# Add fields that you want to update a dict (adding to body itself is too much text)
|
|
121
|
-
fields_to_update.update({"category": data['worklogCategory']}) if 'worklogCategory' in data else fields_to_update
|
|
122
132
|
fields_to_update.update({"description": data['description']}) if 'description' in data else fields_to_update
|
|
123
133
|
fields_to_update.update({"billableMinutes": data['worklogBillableMinutes']}) if 'worklogBillableMinutes' in data else fields_to_update
|
|
124
134
|
fields_to_update.update({"team": data['team']}) if 'team' in data else fields_to_update
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{brynq_sdk_monday-2.1.0 → brynq_sdk_monday-2.1.2}/brynq_sdk_monday.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|