Taragolis commented on PR #36952:
URL: https://github.com/apache/airflow/pull/36952#issuecomment-2032294336

   If you have a time also worthwhile to check [PEP-702 – Marking deprecations 
using the type system](https://peps.python.org/pep-0702/) (and 
[discussion](https://discuss.python.org/t/pep-702-marking-deprecations-using-the-type-system/23036))
 and maybe it is possible to adopt it to use it, in python before 3.13 it 
back-ported in 
[`typing_extensions`](https://typing-extensions.readthedocs.io/en/latest/#typing_extensions.deprecated)
   
   Some upstream PEP-702 related issues/feature requests
   - https://github.com/python/mypy/issues/16111
   - 
https://youtrack.jetbrains.com/issue/PY-61651/Deprecation-highlighting-with-PEP-702-deprecated-decorator
   - https://github.com/microsoft/pyright/issues/4456


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