I have a python function which returns a dictionary with the following structure
{
(int, int): {string: {string: int, string: float}}
}
I am wondering how I can specify this with type hints. So, these bits are clear:
Dict[Tuple[int, int], Dict[str, Dict[str, # what comes here]]
However, the internal dictionary has int
and float
value types for the two keys. I am not sure how to annotate that