Python Pylance Reportunknownmembertype Even Though Variable Type Is

Python Pylance Reportunknownmembertype Even Though Variable Type Is