code: def get_config(self, ):
          
          # get the module of the plugin class
          mod = sys.modules[self.__module__]
          # get the file from where it was imported
          modfile = mod.__file__
          # get the module directory
          specdir = os.path.dirname(modfile)
          # get the classname
          cname = self.__class__.__name__
          # add the extension
          confname = os.extsep.join((cname, CONFIG_EXT))
  
          specpath = os.path.join(specdir, confname)
          if not os.path.exists(specpath):
              return None
          confpath = os.path.join(PLUGIN_CONFIG_DIR, confname)
          return load_config(confpath, specpath)
docs: Return the user config for this plugin
  
          You have to provide a configspec,
          put the configspec file in the same folder as your plugin.
          Name it like your class and put 'ini' as extension.