Use the Dict[key_type, value_type] syntax for restricting the key and value types of dictionaries.
Dict[key_type, value_type]