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

Function schemas

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

Source from the content-addressed store, hash-verified

247
248
249def schemas(type_strategy=primitive_types, max_fields=None):
250 children = st.lists(fields(type_strategy), max_size=max_fields)
251 return st.builds(pa.schema, children)
252
253
254all_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