XD-DENG commented on issue #4878: [AIRFLOW-4046] Added validations for 
poke_interval & timeout for Airflow Sensor
URL: https://github.com/apache/airflow/pull/4878#issuecomment-471069211
 
 
   Yes. then maybe have something like **if not isinstance(x, (int, float))** 
(on phone so maybe syntax error, just providing the idea). 
   
   there are so many types and I may pass whatever weird stuff to these 
arguments by aciident. Only checking “str” is not enough 

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


With regards,
Apache Git Services

Reply via email to