code: def map_types(
      draw, key_strategy=primitive_types, item_strategy=primitive_types
  ):
      key_type = draw(key_strategy)
      h.assume(not pa.types.is_null(key_type))
      value_type = draw(item_strategy)
      return pa.map_(key_type, value_type)
  
imports: import datetime
  import sys
  import pytest
  import hypothesis
  import hypothesis.strategies
  import hypothesis.extra.numpy
  import numpy
  import pyarrow
label_desc: Use image node_id 5 for calling a global function with example usage: map_types(draw, key_strategy, item_strategy) and returns: pa