TYP: remove ignores for "Cannot assign to a method"
xref #37715

This is dynamic generated code. so I am also OK with leaving theses ignores in play to highlight this. these mypy errors could be interpreted as not being false positives. 