code: def schemas(type_strategy=primitive_types, max_fields=None):
      children = st.lists(fields(type_strategy), max_size=max_fields)
      return st.builds(pa.schema, children)
  
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 6 for calling a global function with example usage: schemas(type_strategy, max_fields) and returns: st