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
54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 |
|
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
128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 |
|
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
105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 |
|