Unresolved reference with Singleton
Completed
Is there a way to get rid of the warning "Unresolved reference 'DeviceManager' ..." for this kind of singleton pattern?
Please sign in to leave a comment.
I was using version 3.6.7 and changing to 3.7.3 solved the problem. I also had to remove PyCharms backward compatibility feature that would have shown the warning again, but PyCharm shows an info that guids to the parameter.
There is also a way for prior versions of python 3.7. To avoid the warning just provide the type as string.