prefect.input.actions
create_flow_run_input(client, key, value, flow_run_id=None, sender=None)
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 src/prefect/input/actions.py
52 53 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 |
|
delete_flow_run_input(client, key, flow_run_id=None)
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 src/prefect/input/actions.py
126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 |
|
read_flow_run_input(client, key, flow_run_id=None)
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 src/prefect/input/actions.py
103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 |
|