I would like to know if it's possible to access type annotations for variables at runtime the same way you can use the __annotations__ entry in inspect.getmembers() for methods and functions.
> a:Optional[str]=None
> type(a)
<class 'NoneType'>
> a:str=None
> type(a)
<class 'NoneType'>
Thanks.