|
|
@@ -66,9 +66,11 @@ def job_run_state(start_ts: int, end_ts: int):
|
|
|
log_data = resp.get_body().get('data')
|
|
|
|
|
|
all_crawler_mode = list(dict.fromkeys([cron_info.crawler_mode for cron_info in AutomationJobCronInfo]))
|
|
|
- print(f"all_crawler_mode: {all_crawler_mode}")
|
|
|
collapsible_limit = 5
|
|
|
crawler_mode_group = [all_crawler_mode[i:i + collapsible_limit] for i in range(0, len(all_crawler_mode), collapsible_limit)]
|
|
|
+ print(f"all_crawler_mode: {all_crawler_mode}")
|
|
|
+ print(f"crawler_mode_group: {crawler_mode_group}")
|
|
|
+ print(f"log_data: {log_data}")
|
|
|
for crawler_mode_partition in crawler_mode_group:
|
|
|
elements = []
|
|
|
for crawler_mode in crawler_mode_partition:
|