(executor, requestor, task_info_dict, input_path)
| 103 | |
| 104 | |
| 105 | def create_and_submit_new_task(executor, requestor, task_info_dict, input_path): |
| 106 | task_info = new_task_info() |
| 107 | task = executor.submit( |
| 108 | requestor.make_request, |
| 109 | task_info, |
| 110 | input_path, |
| 111 | ) |
| 112 | task_info_dict[task] = task_info |
| 113 | |
| 114 | return task |
| 115 | |
| 116 | |
| 117 | if __name__ == "__main__": |
nothing calls this directly
no test coverage detected