If you initialize instance members, please do so in __init__ rather than ad-hoc.

self.config is private, so its name should start with an underscore.