BasPH commented on code in PR #28369:
URL: https://github.com/apache/airflow/pull/28369#discussion_r1049336082


##########
docs/apache-airflow/tutorial/taskflow.rst:
##########
@@ -365,7 +365,11 @@ You can apply the ``@task.sensor`` decorator to convert a 
regular Python functio
 BaseSensorOperator class. The Python function implements the poke logic and 
returns an instance of
 the ``PokeReturnValue`` class as the ``poke()`` method in the 
BaseSensorOperator does. The ``PokeReturnValue`` is
 a new feature in Airflow 2.3 that allows a sensor operator to push an XCom 
value as described in
-section "Having sensors return XOM values" of 
:doc:`apache-airflow-providers:howto/create-update-providers`.
+section "Having sensors return XCOM values" of 
:doc:`apache-airflow-providers:howto/create-update-providers`.
+
+Alternatively in cases where the sensor doesn't need to push XCOM values:  
both ``poke()`` and the wrapped

Review Comment:
   ```suggestion
   Alternatively in cases where the sensor doesn't need to push XCom values:  
both ``poke()`` and the wrapped
   ```



##########
docs/apache-airflow/tutorial/taskflow.rst:
##########
@@ -365,7 +365,11 @@ You can apply the ``@task.sensor`` decorator to convert a 
regular Python functio
 BaseSensorOperator class. The Python function implements the poke logic and 
returns an instance of
 the ``PokeReturnValue`` class as the ``poke()`` method in the 
BaseSensorOperator does. The ``PokeReturnValue`` is
 a new feature in Airflow 2.3 that allows a sensor operator to push an XCom 
value as described in
-section "Having sensors return XOM values" of 
:doc:`apache-airflow-providers:howto/create-update-providers`.
+section "Having sensors return XCOM values" of 
:doc:`apache-airflow-providers:howto/create-update-providers`.

Review Comment:
   ```suggestion
   section "Having sensors return XCom values" of 
:doc:`apache-airflow-providers:howto/create-update-providers`.
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to