geruh commented on PR #2696: URL: https://github.com/apache/iceberg-python/pull/2696#issuecomment-3487818372
Thanks for raising this Kevin! I saw this happening in the UV migration PR and thought I was missing something. Looks like this covers PEP 604 which introduces `X | Y`, which makes `int | None` exactly equivalent to Optional[int]. The PEP didn’t deprecate Optional type but it left any removal descisions for the future. But looks like ruff kind of nudges everyone in the 604 direction haha. -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
