code: def event(value):
      # type: (AnyStr) -> None
      """Record an event that occurred this test. Statistics on number of test
      runs with each event will be reported at the end if you run Hypothesis in
      statistics reporting mode.
  
      Events should be strings or convertible to them.
      """
      context = _current_build_context.value
      if context is None:
          raise InvalidArgument(
              "Cannot make record events outside of a test"
          )
  
      context.data.note_event(value)
  
imports: from __future__ import absolute_import, division, print_function
  import math
  import traceback
  from hypothesis import Verbosity, settings
  from hypothesis.errors import CleanupFailed, InvalidArgument, UnsatisfiedAssumption
  from hypothesis.internal.compat import string_types
  from hypothesis.internal.conjecture.data import ConjectureData
  from hypothesis.internal.validation import check_type
  from hypothesis.reporting import report, verbose_report
  from hypothesis.utils.dynamicvariables import DynamicVariable
label_desc: Use image node_id 6 for calling a global function with example usage: event(value) without return types