flytekit.wait_for_input¶
- flytekit.wait_for_input(name, timeout, expected_type)[source]¶
Create a Gate object that waits for user input of the specified type.
Create a Gate object. This object will function like a task. Note that unlike a task, each time this function is called, a new Python object is created. If a workflow calls a subworkflow twice, and the subworkflow has a signal, then two Gate objects are created. This shouldn’t be a problem as long as the objects are identical.