It seems like the GitHub access token used for retrieving details about this repository from
GitHub became invalid. This might prevent certain types of inspections from being run (in
particular,
everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
It seems like _daemonize was declared protected and should not be accessed from this context.
Prefixing a member variable _ is usually regarded as the equivalent of
declaring it with protected visibility that exists in other languages.
Consequentially, such a member should only be accessed from the same class or
a child class:
classMyParent:def__init__(self):self._x=1;self.y=2;classMyChild(MyParent):defsome_method(self):returnself._x# Ok, since accessed from a child classclassAnotherClass:defsome_method(self,instance_of_my_child):returninstance_of_my_child._x# Would be flagged as AnotherClass is not# a child class of MyParent
It is generally a good practice to initialize all attributes to default values in the
__init__
method: