This is an old and known issue with VS Code Python. https://github.com/microsoft/vscode-python/issues/19030
This is an old and known issue with VS Code Python.
microsoft/vscode-python#19030