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

Function schemas

python/pyarrow/tests/strategies.py:268–270  ·  view source on GitHub ↗
(type_strategy=primitive_types, max_fields=None)

Source from the content-addressed store, hash-verified

266
267
268def schemas(type_strategy=primitive_types, max_fields=None):
269 children = st.lists(fields(type_strategy), max_size=max_fields)
270 return st.builds(pa.schema, children)
271
272
273all_types = st.deferred(

Callers 3

strategies.pyFile · 0.85
record_batchesFunction · 0.85
tablesFunction · 0.85

Calls 1

fieldsFunction · 0.70

Tested by

no test coverage detected