mik-laj commented on a change in pull request #15206:
URL: https://github.com/apache/airflow/pull/15206#discussion_r607133875
##########
File path: airflow/sensors/base.py
##########
@@ -322,9 +321,3 @@ def mode_setter(_, value):
return cls_type
return decorate(cls)
-
-
-if 'BUILDING_AIRFLOW_DOCS' in os.environ:
Review comment:
It's is duplicated code. See:
https://github.com/apache/airflow/blob/4099108f554130cf3f87ba33b9d6084a74e70231/airflow/utils/decorators.py#L100
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]