Debian Codegraph @

src/globus_sdk/testing/data/flows/resume_run.py

raw
1 from globus_sdk.testing import RegisteredResponse, ResponseSet
2
3 from ._common import TWO_HOP_TRANSFER_RUN
4
5 FLOW_ID = TWO_HOP_TRANSFER_RUN["flow_id"]
6 RUN_ID = TWO_HOP_TRANSFER_RUN["run_id"]
7 RESPONSES = ResponseSet(
8 metadata={"run_id": RUN_ID, "flow_id": FLOW_ID},
9 default=RegisteredResponse(
10 service="flows",
11 method="POST",
12 path=f"/runs/{RUN_ID}/resume",
13 json=TWO_HOP_TRANSFER_RUN,
14 ),
15 )