parameters: (self, verbose=False)
return_statement: return text
docstring: Stop recording task invocations, and return the trace as text.
  
          By default, the trace only shows those tasks that were invoked,
          because no up-to-date return value was available for them in the
          cache.  But if the optional argument `verbose` is true then the
          trace will also include tasks which experienced a cache hit, not
          of a miss, and therefore did not need to be re-invoked.
docstring_summary: Stop recording task invocations, and return the trace as text.
docstring_tokens: Stop recording task invocations and return the trace as text .
function: def stop_tracing(self, verbose=False):
          """Stop recording task invocations, and return the trace as text.
  
          By default, the trace only shows those tasks that were invoked,
          because no up-to-date return value was available for them in the
          cache.  But if the optional argument `verbose` is true then the
          trace will also include tasks which experienced a cache hit, not
          of a miss, and therefore did not need to be re-invoked.
  
          """
          text = '\n'.join(
              '{}{} {}'.format(
                  '. ' * depth,
                  'calling' if not_available else 'returning cached',
                  task)
              for (depth, not_available, task) in self._trace
              if verbose or not_available)
  
          self._trace = None
          return text
function_tokens: def stop_tracing ( self , verbose = False ) : text = '\n' . join ( '{}{} {}' . format ( '. ' * depth , 'calling' if not_available else 'returning cached' , task ) for ( depth , not_available , task ) in self . _trace if verbose or not_available ) self . _trace = None return text