Within BaseClass you reference self.THE_DCT, yet when PyCharm looks at this class, it sees that THE_DCT doesn’t exist.
Assuming you are treating this as an Abstract Class, PyCharm doesn’t know that that is your intention. All it sees is a class accessing an attribute, which doesn’t exist, and therefore it displays the warning.
Although your code will run perfectly fine (as long as you never instantiate BaseClass), you should really change it to:
class BaseClass(object):
THE_DCT = {}
def the_dct(self):
return self.THE_DCT