AdamPaslawski commented on pull request #22377:
URL: https://github.com/apache/airflow/pull/22377#issuecomment-1076801361


   > Static checks are failing
   
   Hi @potiuk ,
   
   They are failing because I am providing a default value of None to the 
newer_than parameter which is not of type DateTime. I think it makes sense to 
allow for a default of None.
   
   I checked for inspiration in areas of the project like in 
airflow.providers.amazon.aws.sensors.s3.S3KeySensor where defaults are set as 
None in the same way for parameters with specific datatypes.
   
   Is there another design pattern I can use to pass the static checks but 
still allow for a default of 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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to