brynq-sdk-monday 2.0.0__tar.gz → 2.1.0__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.0.0 → brynq_sdk_monday-2.1.0}/PKG-INFO +1 -1
- {brynq_sdk_monday-2.0.0 → brynq_sdk_monday-2.1.0}/brynq_sdk_monday/extract_tracket.py +3 -4
- {brynq_sdk_monday-2.0.0 → brynq_sdk_monday-2.1.0}/brynq_sdk_monday/upload_tracket.py +1 -1
- {brynq_sdk_monday-2.0.0 → brynq_sdk_monday-2.1.0}/brynq_sdk_monday.egg-info/PKG-INFO +1 -1
- {brynq_sdk_monday-2.0.0 → brynq_sdk_monday-2.1.0}/setup.py +1 -1
- {brynq_sdk_monday-2.0.0 → brynq_sdk_monday-2.1.0}/brynq_sdk_monday/__init__.py +0 -0
- {brynq_sdk_monday-2.0.0 → brynq_sdk_monday-2.1.0}/brynq_sdk_monday/extract_monday.py +0 -0
- {brynq_sdk_monday-2.0.0 → brynq_sdk_monday-2.1.0}/brynq_sdk_monday.egg-info/SOURCES.txt +0 -0
- {brynq_sdk_monday-2.0.0 → brynq_sdk_monday-2.1.0}/brynq_sdk_monday.egg-info/dependency_links.txt +0 -0
- {brynq_sdk_monday-2.0.0 → brynq_sdk_monday-2.1.0}/brynq_sdk_monday.egg-info/not-zip-safe +0 -0
- {brynq_sdk_monday-2.0.0 → brynq_sdk_monday-2.1.0}/brynq_sdk_monday.egg-info/requires.txt +0 -0
- {brynq_sdk_monday-2.0.0 → brynq_sdk_monday-2.1.0}/brynq_sdk_monday.egg-info/top_level.txt +0 -0
- {brynq_sdk_monday-2.0.0 → brynq_sdk_monday-2.1.0}/setup.cfg +0 -0
|
@@ -27,7 +27,7 @@ class ExtractTracket(BrynQ):
|
|
|
27
27
|
Return the headers with the access_token.
|
|
28
28
|
"""
|
|
29
29
|
# Get credentials from BrynQ
|
|
30
|
-
credentials = self.interfaces.credentials.get(system="
|
|
30
|
+
credentials = self.interfaces.credentials.get(system="monday", system_type=system_type)
|
|
31
31
|
credentials = credentials.get('data')
|
|
32
32
|
|
|
33
33
|
# With those credentials, get the access_token from Tracket
|
|
@@ -97,10 +97,9 @@ class ExtractTracket(BrynQ):
|
|
|
97
97
|
"""
|
|
98
98
|
Get all the hour categories from Tracket.
|
|
99
99
|
"""
|
|
100
|
-
endpoint = f'{self.base_url}
|
|
100
|
+
endpoint = f'{self.base_url}templates/timeEntry/fields/category/options'
|
|
101
101
|
response = requests.request("GET", endpoint, headers=self.headers, timeout=self.timeout)
|
|
102
102
|
response.raise_for_status()
|
|
103
|
-
data = response.json()['
|
|
103
|
+
data = response.json()['items']
|
|
104
104
|
df = pd.DataFrame(data)
|
|
105
105
|
return df
|
|
106
|
-
|
|
@@ -29,7 +29,7 @@ class UploadTracket(BrynQ):
|
|
|
29
29
|
Return the headers with the access_token.
|
|
30
30
|
"""
|
|
31
31
|
# Get credentials from BrynQ
|
|
32
|
-
credentials = self.interfaces.credentials.get(system="
|
|
32
|
+
credentials = self.interfaces.credentials.get(system="monday", system_type=system_type)
|
|
33
33
|
credentials = credentials.get('data')
|
|
34
34
|
|
|
35
35
|
# With those credentials, get the access_token from Tracket
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{brynq_sdk_monday-2.0.0 → brynq_sdk_monday-2.1.0}/brynq_sdk_monday.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|