Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions task-sdk/src/airflow/sdk/definitions/baseoperator.py
Original file line number Diff line number Diff line change
Expand Up @@ -1547,6 +1547,8 @@ def defer(
) -> NoReturn:
"""
Mark this Operator "deferred", suspending its execution until the provided trigger fires an event.
When resumed, a new instance of this Operator will be created to continue execution - any local state
will be lost.

This is achieved by raising a special exception (TaskDeferred)
which is caught in the main _execute_task wrapper. Triggers can send execution back to task or end
Expand Down
Loading