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

Function _get_options_class

python/pyarrow/compute.py:212–221  ·  view source on GitHub ↗
(func)

Source from the content-addressed store, hash-verified

210
211
212def _get_options_class(func):
213 class_name = func._doc.options_class
214 if not class_name:
215 return None
216 try:
217 return globals()[class_name]
218 except KeyError:
219 warnings.warn(f"Python binding for {class_name} not exposed",
220 RuntimeWarning)
221 return None
222
223
224def _handle_options(name, options_class, options, args, kwargs):

Callers 1

_wrap_functionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected