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

Function _get_num_of_files_generated

python/pyarrow/tests/test_dataset.py:4499–4500  ·  view source on GitHub ↗
(base_directory, file_format)

Source from the content-addressed store, hash-verified

4497
4498
4499def _get_num_of_files_generated(base_directory, file_format):
4500 return len(list(pathlib.Path(base_directory).glob(f'**/*.{file_format}')))
4501
4502
4503@pytest.mark.parquet

Callers 1

_get_compare_pairFunction · 0.85

Calls 3

lenFunction · 0.85
listFunction · 0.85
PathMethod · 0.45

Tested by

no test coverage detected