Is there a way to type out the results when calling the get method on a ContextVar?
Something like this
from contextvars import ContextVar
my_var : ContextVar[MyType] = ContextVar('my_var', default=None)
So later I could have type hints(intellisense) with my IDE after calling the get method
current_val = my_var.get() # Now the IDE knows the type because of the generic
Does something like this exists or should I better create an issue in the python repo( or the mypy repo?)?