old_contents: 
  from collections import namedtuple
  
  from docido_sdk.core import Interface
  
  __all__ = [
      'ICrawler',
  ]
  
  class ICrawler(Interface):
      """Extension point interface for components willing to
      provide additional Docido crawlers.
      """
      def get_service_name():
          """
          :return: crawler name
          :rtype: string
          """
  
      def get_account_login(oauth_token):
          """Provides most *human-readable* representation of the
          user account. The returned value is used to identify
          the account among others.
  
          :param docido_sdk.oauth.OAuthToken oauth_token:
            OAuth credentials
  
          :return: user account identifier
          :rtype: string
          """
  
  #    def handle_oauth_response(oauth):
  #        """Handle the OAuth response with the proper method,
  #        and extract meaningful fields from response.
  #
  #        :param flask_oauthlib.client.OAuth oauth: OAuth transaction
  #        :rtype: docido.crawler.oauth.OAuthToken
  #        """
  
      def iter_crawl_tasks(papi, oauth_token, full=False):
          """Split the crawl in smaller independant actions,
          and returns them instead of executing them.
  
          :param docido.push.api.PushAPI
  
          :param basestring oauth_token:
            OAuth credentials
  
          :param bool full:
            whether the entire account must be pushed or only
            changes that occured since previous crawl.
  
          :return: generator of :py:func:`functools.partial` tasks
            to execute to perform the account synchronization.
            Partial instances may accept 2 arguments:
  
            - push_api (:py:class:`docido_sdk.push.PushAPI`)
            - token (:py:class:`docido_sdk.oauth.OAuthToken`)
  
            A tuple of 2 elements can also be returned for crawlers
            willing to perform a final operation when all sub-tasks
            have been executed. The tuple may be like:
            `tuple(generator of partial, partial)`
          """
  
  
  
      def clear_account(oauth_token):
          """Remove from Docido index all data previously indexed for
          this account. Persisted data must also be cleared.
  
          :param docido.crawler.oauth.OAuthToken oauth_token:
            OAuth credentials
          """
  
new_contents: 
  from collections import namedtuple
  
  from docido_sdk.core import Interface
  
  __all__ = [
      'ICrawler',
  ]
  
  class ICrawler(Interface):
      """Extension point interface for components willing to
      provide additional Docido crawlers.
      """
      def get_service_name():
          """
          :return: crawler name
          :rtype: string
          """
  
      def get_account_login(oauth_token):
          """Provides most *human-readable* representation of the
          user account. The returned value is used to identify
          the account among others.
  
          :param docido_sdk.oauth.OAuthToken oauth_token:
            OAuth credentials
  
          :return: user account identifier
          :rtype: string
          """
  
  #    def handle_oauth_response(oauth):
  #        """Handle the OAuth response with the proper method,
  #        and extract meaningful fields from response.
  #
  #        :param flask_oauthlib.client.OAuth oauth: OAuth transaction
  #        :rtype: docido.crawler.oauth.OAuthToken
  #        """
  
      def iter_crawl_tasks(index, oauth_token, full=False):
          """Split the crawl in smaller independant actions,
          and returns them instead of executing them.
  
          :param docido.push.api.IndexAPI: index
            To manipulate Docido index
  
          :param basestring oauth_token:
            OAuth credentials
  
          :param bool full:
            whether the entire account must be pushed or only
            changes that occured since previous crawl.
  
          :return: generator of :py:func:`functools.partial` tasks
            to execute to perform the account synchronization.
            Partial instances may accept 2 arguments:
  
            - push_api (:py:class:`docido_sdk.push.IndexAPI`)
            - token (:py:class:`docido_sdk.oauth.OAuthToken`)
  
            A tuple of 2 elements can also be returned for crawlers
            willing to perform a final operation when all sub-tasks
            have been executed. The tuple may be like:
            `tuple(generator of partial, partial)`
          """
  
      def clear_account(index, oauth_token):
          """Remove from Docido index all data previously indexed for
          this account. Persisted data must also be cleared.
  
          :param docido.push.IndexAPI index:
            To manipulate Docido index
  
          :param docido.oauth.OAuthToken oauth_token:
            OAuth credentials
          """
  
subject: Fix crawler API signature/doc