josh-fell commented on a change in pull request #20044: URL: https://github.com/apache/airflow/pull/20044#discussion_r789318978
########## File path: docs/apache-airflow/howto/operator/python.rst ########## @@ -90,7 +90,57 @@ If additional parameters for package installation are needed pass them in ``requ All supported options are listed in the `requirements file format <https://pip.pypa.io/en/stable/reference/requirements-file-format/#supported-options>`_. +.. _howto/operator:ShortCircuitOperator: + +ShortCircuitOperator +======================== + +Use the :class:`~airflow.operators.python.ShortCircuitOperator` to control whether a pipeline continues +if a condition is satisfied or a Truthy value is obtained. The evaluation of this condition and Truthy value +is done via the output of a ``python_callable``. If the ``python_callable`` returns True or a Truthy value, Review comment: Honestly, I didn't check the code base. My thought was Truthy and Falsy were analogous to True and False which are capitalized. Happy to keep this consistent with the code base. -- 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]
