Skip to content

Commit

Permalink
Small cleanup of get_current_context() chapter (#24482)
Browse files Browse the repository at this point in the history
  • Loading branch information
josh-fell authored Jun 16, 2022
1 parent fe5e689 commit 7848f04
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/apache-airflow/tutorial_taskflow_api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -451,9 +451,9 @@ With kwargs:
ti = kwargs["ti"]
next_ds = kwargs["next_ds"]
Also sometimes you might want to access the context somewhere deep the stack - and you do not want to pass
the context variables from the task callable. You can do it via ``get_current_context``
method of the Python operator.
Also, sometimes you might want to access the context somewhere deep in the stack, but you do not want to pass
the context variables from the task callable. You can still access execution context via the ``get_current_context``
method.

.. code-block:: python
Expand Down

0 comments on commit 7848f04

Please sign in to comment.