code: def claim(typ, **info):
      '''
      Add an entry to the provenance stack for the duration of the context
      '''
      stack = s_task.varget('provstack')
  
      if len(stack) > 256:  # pragma: no cover
          raise s_exc.RecursionLimitHit(mesg='Hit global recursion limit')
  
      stack.push(typ, **info)
  
      try:
          yield
      finally:
          stack.pop(f claim(typ, **info):
      '''
      Add an entry to the provenance stack for the duration of the context
      '''
      stack = s_task.varget('provstack')
  
      if len(stack) > 256:  # pragma: no cover
          raise s_exc.RecursionLimitHit(mesg='Hit global recursion limit')
  
      stack.push(typ, **info)
  
      try:
          yield
      finally:
          stack.pop()
docs: Add an entry to the provenance stack for the duration of the context