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

Function _get_options_class

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

Source from the content-addressed store, hash-verified

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

Callers 1

_wrap_functionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected