prefect.input.actions
¶
create_flow_run_input
async
¶
Create a new flow run input. The given value
will be serialized to JSON
and stored as a flow run input value.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
- |
key (str
|
the flow run input key |
required |
- |
value (Any
|
the flow run input value |
required |
- |
flow_run_id (UUID
|
the, optional, flow run ID. If not given will default to pulling the flow run ID from the current context. |
required |
Source code in prefect/input/actions.py
26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 |
|
delete_flow_run_input
async
¶
Delete a flow run input.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
- |
flow_run_id (UUID
|
the flow run ID |
required |
- |
key (str
|
the flow run input key |
required |
Source code in prefect/input/actions.py
74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 |
|
read_flow_run_input
async
¶
Read a flow run input.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
- |
key (str
|
the flow run input key |
required |
- |
flow_run_id (UUID
|
the flow run ID |
required |
Source code in prefect/input/actions.py
51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 |
|