uranusjr commented on a change in pull request #18622:
URL: https://github.com/apache/airflow/pull/18622#discussion_r723799273



##########
File path: airflow/stats.py
##########
@@ -331,10 +332,12 @@ def gauge(self, stat, value, rate=1, delta=False, 
tags=None):
         return None
 
     @validate_stat
-    def timing(self, stat, dt, tags=None):
+    def timing(self, stat: str, dt: Union[float, datetime.timedelta], tags: 
Optional[List[str]] = None):

Review comment:
       Also needed in `TimerProtocol` (because that's what's actually gets 
inspected, not the concrete classes).




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