See https://github.com/python/mypy/issues/21215#issuecomment-4239541573 for more context.
See #21215 (comment) for more context.