File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -301,6 +301,8 @@ def export_labels(self,
301301 timeout_seconds (float): Max waiting time, in seconds.
302302 start (str): Earliest date for labels, formatted "YYYY-MM-DD" or "YYYY-MM-DD hh:mm:ss"
303303 end (str): Latest date for labels, formatted "YYYY-MM-DD" or "YYYY-MM-DD hh:mm:ss"
304+ last_activity_start (str):
305+
304306 Returns:
305307 URL of the data file with this Project's labels. If the server didn't
306308 generate during the `timeout_seconds` period, None is returned.
@@ -346,6 +348,12 @@ def _validate_datetime(string_date: str) -> bool:
346348 filter_param_dict ["labelCreatedAt" ] = "{%s}" % _string_from_dict (
347349 created_at_dict , value_with_quotes = True )
348350
351+ if "last_activity_start" in kwargs :
352+ last_activity_start = kwargs ['last_activity_start' ]
353+ _validate_datetime (last_activity_start )
354+ filter_param_dict ["lastActivityAt" ] = "{%s}" % _string_from_dict (
355+ {"start" : last_activity_start }, value_with_quotes = True )
356+
349357 if filter_param_dict :
350358 filter_param = """, filters: {%s }""" % (_string_from_dict (
351359 filter_param_dict , value_with_quotes = False ))
You can’t perform that action at this time.
0 commit comments