You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/11/30 14:32:54 UTC

[GitHub] [airflow] potiuk edited a comment on pull request #19886: Context class handles deprecation

potiuk edited a comment on pull request #19886:
URL: https://github.com/apache/airflow/pull/19886#issuecomment-982691026


   > Bad news, you can’t override anything in `TypedDict`. So we need an alternative way to handle #14396…
   
   How about we use dynamic attributes with set/get_attr and stub files from PEP 484 ? https://www.python.org/dev/peps/pep-0484/#stub-files - I think major IDEs already nicely support them. This way we would not have to unnecesarily complicate the implementation.
   
   That very nicely fits my "requirements" for less-nebulous context https://github.com/apache/airflow/issues/14396#issuecomment-962588693
   


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org