trio icon indicating copy to clipboard operation
trio copied to clipboard

RunVar exposure not flexible enough

Open oremanj opened this issue 6 years ago • 1 comments

RunVar[T].get(U) should return Union[T, U], not an error. Look at ContextVar for inspiration.

oremanj avatar Jan 07 '20 18:01 oremanj

~~Do you mind if this issue gets transferred over to the trio repository now that that has inline type hints?~~

I'll just do it, feel free to transfer this back if I shouldn't have.

A5rocks avatar Nov 04 '23 05:11 A5rocks