Bowrna commented on PR #27173: URL: https://github.com/apache/airflow/pull/27173#issuecomment-1287053644
@eladkal I am trying to replace the typing for `session` param from `Session | None` to `Optional[Session]` But when I run the static checks it is getting overwritten to the existing format as it fails in `pyupgrade` due to the PEP support for `Session | None` as mentioned here https://github.com/asottile/pyupgrade#pep-604-typing-rewrites I will close this issue as it's not a valid PR for this reason. <img width="798" alt="Screenshot 2022-10-21 at 7 55 20 PM" src="https://user-images.githubusercontent.com/10162465/197219954-9ebad682-9c61-42e2-9253-1f9e5a3a7297.png"> -- 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]
