uranusjr commented on code in PR #22562:
URL: https://github.com/apache/airflow/pull/22562#discussion_r945490122


##########
airflow/decorators/__init__.pyi:
##########
@@ -239,5 +241,11 @@ class TaskDecoratorCollection:
         :param cap_add: Include container capabilities
         """
         # [END decorator_signature]
+    @overload
+    def sensor(self, python_callable: Optional[Callable] = None, **kwargs) -> 
TaskDecorator:

Review Comment:
   This is meaningless. Please see above for examples on how to write a useful 
type annotation.



-- 
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