From a6d65159553acbfa10a70e767d1a98e59ab6778a Mon Sep 17 00:00:00 2001 From: Josh Fell <48934154+josh-fell@users.noreply.github.com> Date: Wed, 15 Jun 2022 15:24:21 -0400 Subject: [PATCH] Small cleanup of ``get_current_context()`` chapter --- 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 8305010a86b15..00b3e43a2aa52 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