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

Method _patch_kwargs

python/pyarrow/tests/test_dataset.py:302–307  ·  view source on GitHub ↗
(self, kwargs)

Source from the content-addressed store, hash-verified

300 self.use_threads = use_threads
301
302 def _patch_kwargs(self, kwargs):
303 if 'use_threads' in kwargs:
304 raise Exception(
305 ('Invalid use of dataset_reader, do not specify'
306 ' use_threads'))
307 kwargs['use_threads'] = use_threads
308
309 def to_table(self, dataset, **kwargs):
310 self._patch_kwargs(kwargs)

Callers 6

to_tableMethod · 0.95
to_batchesMethod · 0.95
scannerMethod · 0.95
headMethod · 0.95
takeMethod · 0.95
count_rowsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected