chore: fix mypy issue for __func__ type
#2562
+174
−30
Merged
__func__ type
#2562