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:4502–4503  ·  view source on GitHub ↗
(base_directory, file_format)

Source from the content-addressed store, hash-verified

4500
4501
4502def _get_num_of_files_generated(base_directory, file_format):
4503 return len(list(pathlib.Path(base_directory).glob(f'**/*.{file_format}')))
4504
4505
4506@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