class HandlerDict(TypedDict): ‘A dictionary representing a logging handler’ class_: str formatter: str level: int filename: Optional[str]