mondras
Nate
json_data: dict[str, Union[str, int, dict, bool]] = { "offset": 0, "limit": 200, "sort": "ID_DESC", } if flow_id != "": json_data["flow_runs"] = {"operator": "and_", "flow_id": {"any_": [flow_id]}} all_responses = [] while True: response = <http://requests.post|requests.post>(final_url, headers=headers, json=json_data) if not response.ok: response.raise_for_status() all_responses.append(response.json()) if len(response.json()) < 200: break json_data["offset"] += 200 # type: ignore
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.