(base_url: str, payload: Dict[str, Any], timeout_seconds: int, poll_interval_seconds: float)
| 95 | |
| 96 | def call_sync(base_url: str, payload: Dict[str, Any], timeout_seconds: int, poll_interval_seconds: float) -> requests.Response: |
| 97 | endpoint = f"{base_url.rstrip('/')}/v1/tasks/sync?timeout_seconds={timeout_seconds}&poll_interval_seconds={poll_interval_seconds}" |
| 98 | return requests.post(endpoint, json=payload, timeout=timeout_seconds + 30) |
| 99 | |
| 100 | |
| 101 | def run_client_upload_flow( |
| 102 | args: argparse.Namespace, |
no test coverage detected