Код: Выделить всё
from typing import Dict
def handle(x: Dict[str, str]):
pass # Do some processing here...
Подробнее здесь: https://stackoverflow.com/questions/792 ... ike-object
Код: Выделить всё
from typing import Dict
def handle(x: Dict[str, str]):
pass # Do some processing here...