random false positive errors appear in vscode that go away after saving the file again
need to figure out if this is an upstream issue
functions decorated with pytest_robotframework.keyword often seem to trigger this issue
i think it might be https://github.com/microsoft/pyright/issues/8779
it was not, still happens in 1.17.1
I think it's worth saying that I have this happen a lot but only specifically with classes annotated with @dataclasses.dataclass. So the decorators that change the program semantics may be the cause of it.
interestingly i haven't noticed this happening in a while. i have a feeling this is a very broad issue that can come up in many different scenarios
Also happens with subclasses of Pydantic's BaseModel in my experience.