I would like to create custom Python type hint that would effectively be
MyType = Dict[str, <some_type>]
Then I would like to be able to spesify MyType like MyType[<some_type>], for example
MyType[List[str]] which would mean Dict[str, List[str]].
I haven't been able to figure out how to do this.
I've tried MyType = Dict[str, Any] but I don't know how to make Any be a variable. Any suggestions?