If I inherit a class variable from a base class, and then want to use that variable as a default parameter in a method in my child class, how do I access it?
def get_records_by_domain(self, domain, search_period_days=self._X):
where _X is a variable in a parent class that is instantiated in the init of the child class?
When I try to test this function, I get the error:
NameError: name 'self' is not defined