This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 7848f0461c Small cleanup of ``get_current_context()`` chapter (#24482)
7848f0461c is described below
commit 7848f0461c2ff254acceb7cd7cf5d7d900116499
Author: Josh Fell <[email protected]>
AuthorDate: Thu Jun 16 04:50:04 2022 -0400
Small cleanup of ``get_current_context()`` chapter (#24482)
---
docs/apache-airflow/tutorial_taskflow_api.rst | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/docs/apache-airflow/tutorial_taskflow_api.rst
b/docs/apache-airflow/tutorial_taskflow_api.rst
index 8305010a86..00b3e43a2a 100644
--- a/docs/apache-airflow/tutorial_taskflow_api.rst
+++ b/docs/apache-airflow/tutorial_taskflow_api.rst
@@ -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