This is a bug in mypy versions prior to 1.12.0. Upgrading to 1.12 or better allows for proper handling of multiple inheritance.