mik-laj commented on a change in pull request #9775:
URL: https://github.com/apache/airflow/pull/9775#discussion_r456950859



##########
File path: airflow/providers/datadog/sensors/datadog.py
##########
@@ -39,15 +41,15 @@ class DatadogSensor(BaseSensorOperator):
     @apply_defaults
     def __init__(
             self,
-            datadog_conn_id='datadog_default',
-            from_seconds_ago=3600,
-            up_to_seconds_from_now=0,
-            priority=None,
-            sources=None,
-            tags=None,
-            response_check=None,
+            datadog_conn_id: str = 'datadog_default',
+            from_seconds_ago: int = 3600,
+            up_to_seconds_from_now: int = 0,
+            priority: Optional[str] = None,
+            sources: Optional[List[Any]] = None,
+            tags: Optional[List[Any]] = None,
+            response_check: Optional[Callable[[], Any]] = None,

Review comment:
       ```suggestion
               response_check: Optional[Callable[[Dict[str, Any]], bool]] = 
None,
   ```




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


Reply via email to