code: def do_draw(self, data):
      @proxies(self.like)
      def inner(*args, **kwargs):
          if data.frozen:
              raise InvalidState(
                  "This generated %s function can only be called within the "
                  "scope of the @given that created it."
                  % (nicerepr(self.like),)
              )
          val = data.draw(self.returns)
          note(
              "Called function: %s(%s) -> %r"
              % (
                  nicerepr(self.like),
                  arg_string(self.like, args, kwargs),
                  val,
              )
          )
          return val
  
      return inner
  
file_path: catboost/contrib/python/hypothesis/py2/hypothesis/strategies/_internal/functions.py
imports: from __future__ import absolute_import, division, print_function
  from hypothesis.control import note
  from hypothesis.errors import InvalidState
  from hypothesis.internal.reflection import arg_string, nicerepr, proxies
  from hypothesis.strategies._internal.strategies import SearchStrategy
label_desc: Use image node_id 3 for calling the FunctionStrategy obj's underlying member method code with example usage: obj.do_draw(data) and returns: inner, val