Given a TypedDict, how can you access/use the type of one of its attributes? For example: class Shape(TypedDict): kind: Literal['square', 'circle'] x: int
I have an existing TypedDict containing multiple entries: from typing import TypedDict class Params(TypedDict): param1:str param2:str param3:str I