#NEWLINE# def options( self , **kwargs ) : #NEWLINE# #INDENT# '\n        Allows specifying advanced ``Task`` options to control how the task\n        runs.\n\n        This returns a context manager which will create ``Task`` instances\n        with the supplied options. See ``Task.__init__`` for the available\n        arguments.\n\n        Ex::\n\n            def party_time(task, result):\n                # Throw a party in honor of this task completing.\n                # ...\n\n            with gator.options(retries=2, on_success=party_time) as opts:\n                opts.task(increment, incr_by=2678)\n\n        :param kwargs: Keyword arguments to control the task execution\n        :type kwargs: dict\n\n        :returns: An ``Options`` context manager instance\n        ' #NEWLINE# return Options ( self , ** kwargs )