def grain_funcs(opts, proxy=None):
 return LazyLoader(_module_dirs(opts, 'grains', 'grain', ext_type_dirs='grains_dirs'), opts, tag='grains')

def grain_funcs ( opts , proxy = None ) : return LazyLoader ( _module_dirs ( opts , 'grains' , 'grain' , ext_type_dirs = 'grains_dirs' ) , opts , tag = 'grains' )
returns the grain functions .