code: def deposit_class(self):
          
          cls = current_app.config['GITHUB_DEPOSIT_CLASS']
          if isinstance(cls, string_types):
              cls = import_string(cls)
          assert isinstance(cls, type)
          return cls
docs: Return a class implementing `publish` method.