(original) (raw)
On Nov 2, 2017, at 1:13 PM, Stéfane Fermigier <sf@fermigier.com> wrote:Another common use case is dependency injection / IoC:- Injector (https://github.com/alecthomas/injector):- Flask-Injector (ok it's the same underlying injector):
Pretty cool! This is already using \`get\_type\_hints()\` so it's perfectly compatible with PEP 563:
- Apistar components (https://github.com/encode/apistar#components ):
This is using \`inspect\` directly so will have to migrate to \`get\_type\_hints()\` later. But, as the PEP mentions, it should already be using \`get\_type\_hints()\` since people are free to use forward references even today.
Thanks for flagging those use cases!
- Ł