Closed henryiii closed 1 year ago
I think this somewhat clarifies things. It just was not obvious to me that:
from __future__ import annotations
for the PEP585 "upgrade" for you (regardless of what python version you end up using)typer
) will need to work on older python where this runtime evaluation will fail (after the upgrade), while using click
with the same typehints + the PEP585 applied will not crash (because those typehints are not evaluated explicitly by anything)
Adding some help for runtime annotation usage & some updates for 3.7+ min.