MCPcopy Create free account
hub / github.com/apache/arrow / map_types

Function map_types

python/pyarrow/tests/strategies.py:237–242  ·  view source on GitHub ↗
(draw, key_strategy=primitive_types,
              item_strategy=primitive_types)

Source from the content-addressed store, hash-verified

235
236@st.composite
237def map_types(draw, key_strategy=primitive_types,
238 item_strategy=primitive_types):
239 key_type = draw(key_strategy)
240 h.assume(not pa.types.is_null(key_type))
241 value_type = draw(item_strategy)
242 return pa.map_(key_type, value_type)
243
244
245# union type

Callers 1

strategies.pyFile · 0.85

Calls 1

is_nullMethod · 0.80

Tested by

no test coverage detected