The use of `klass` here seems unnecessary as we always know the exact type (Uninferable). We probably just want to reference that? _Originally posted by @DanielNoord in https://github.com/pylint-dev/astroid/pull/2758#discussion_r2119576197_