brynq-sdk-monday 1.2.0__tar.gz → 1.2.1__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-1.2.0 → brynq_sdk_monday-1.2.1}/PKG-INFO +1 -1
- {brynq_sdk_monday-1.2.0 → brynq_sdk_monday-1.2.1}/brynq_sdk_monday/extract_monday.py +4 -3
- {brynq_sdk_monday-1.2.0 → brynq_sdk_monday-1.2.1}/brynq_sdk_monday.egg-info/PKG-INFO +1 -1
- {brynq_sdk_monday-1.2.0 → brynq_sdk_monday-1.2.1}/setup.py +1 -1
- {brynq_sdk_monday-1.2.0 → brynq_sdk_monday-1.2.1}/brynq_sdk_monday/__init__.py +0 -0
- {brynq_sdk_monday-1.2.0 → brynq_sdk_monday-1.2.1}/brynq_sdk_monday/extract_tracket.py +0 -0
- {brynq_sdk_monday-1.2.0 → brynq_sdk_monday-1.2.1}/brynq_sdk_monday/upload_tracket.py +0 -0
- {brynq_sdk_monday-1.2.0 → brynq_sdk_monday-1.2.1}/brynq_sdk_monday.egg-info/SOURCES.txt +0 -0
- {brynq_sdk_monday-1.2.0 → brynq_sdk_monday-1.2.1}/brynq_sdk_monday.egg-info/dependency_links.txt +0 -0
- {brynq_sdk_monday-1.2.0 → brynq_sdk_monday-1.2.1}/brynq_sdk_monday.egg-info/not-zip-safe +0 -0
- {brynq_sdk_monday-1.2.0 → brynq_sdk_monday-1.2.1}/brynq_sdk_monday.egg-info/requires.txt +0 -0
- {brynq_sdk_monday-1.2.0 → brynq_sdk_monday-1.2.1}/brynq_sdk_monday.egg-info/top_level.txt +0 -0
- {brynq_sdk_monday-1.2.0 → brynq_sdk_monday-1.2.1}/setup.cfg +0 -0
|
@@ -84,9 +84,9 @@ class ExtractMonday(BrynQ):
|
|
|
84
84
|
start_date : str
|
|
85
85
|
Lower‑bound timestamp in ISO‑8601 format (``YYYY‑MM‑DDThh:mm:ssZ``).
|
|
86
86
|
end_date : str, optional
|
|
87
|
-
Upper‑bound timestamp in ISO‑8601 format. ``None`` means
|
|
87
|
+
Upper‑bound timestamp in ISO‑8601 format. ``None`` means "up to now".
|
|
88
88
|
limit : int, optional
|
|
89
|
-
Maximum log rows per page (default
|
|
89
|
+
Maximum log rows per page (default 500, monday hard‑caps at 500).
|
|
90
90
|
|
|
91
91
|
Returns
|
|
92
92
|
-------
|
|
@@ -102,11 +102,12 @@ class ExtractMonday(BrynQ):
|
|
|
102
102
|
|
|
103
103
|
while continue_loop:
|
|
104
104
|
page += 1
|
|
105
|
+
to_clause = f'to: "{end_date}", ' if end_date else ''
|
|
105
106
|
query = (
|
|
106
107
|
f'query {{ boards (ids: {board_id}) {{ '
|
|
107
108
|
f'activity_logs (item_ids: [{ids_literal}], '
|
|
108
109
|
f'from: "{start_date}", '
|
|
109
|
-
|
|
110
|
+
+ to_clause +
|
|
110
111
|
f'limit: {limit}, page: {page}) '
|
|
111
112
|
f'{{ id event entity data user_id created_at }} }} }}'
|
|
112
113
|
)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{brynq_sdk_monday-1.2.0 → brynq_sdk_monday-1.2.1}/brynq_sdk_monday.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|