-
Hi there! I was playing around with The way this would work is where you accept a I think we can implement this in a backwards compatible way if we use from typing import Any
from typing_extensions import TypeVar
RequestState = TypeVar("RequestState", default=Any) # this could also be `State` This means that any current code wouldn't throw an error, and power users could type the state var 😊 The only issue I see at the moment is that |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Check #2218. We're trying... |
Beta Was this translation helpful? Give feedback.
Check #2218. We're trying...