code: def method_flags(
      draw,
      *,
      num_positional_args,
      as_variable,
      native_arrays,
      container_flags,
      precision_mode,
  ):
      return draw(
          st.builds(
              MethodTestFlags,
              num_positional_args=num_positional_args,
              as_variable=as_variable,
              native_arrays=native_arrays,
              container_flags=container_flags,
              precision_mode=precision_mode,
          )
      )
  
imports: import abc
  from hypothesis import strategies
  from .None import globals
  from .pipeline_helper import BackendHandler
  from dataclasses import dataclass
  from hypothesis.strategies import SearchStrategy
label_desc: Use image node_id 7 for calling a global function with example usage: method_flags(draw) and returns: draw