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

Function map_types

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

Source from the content-addressed store, hash-verified

254
255@st.composite
256def map_types(draw, key_strategy=primitive_types,
257 item_strategy=primitive_types):
258 key_type = draw(key_strategy)
259 h.assume(not pa.types.is_null(key_type))
260 value_type = draw(item_strategy)
261 return pa.map_(key_type, value_type)
262
263
264# union type

Callers 1

strategies.pyFile · 0.85

Calls 1

is_nullMethod · 0.80

Tested by

no test coverage detected