userver: en/testsuite/databases/clickhouse/utils.py Source File
Loading...
Searching...
No Matches
utils.py
1import pathlib
2
3
4def scan_sql_directory(root: pathlib.Path) -> list[pathlib.Path]:
5 return [
6 entry
7 for entry in sorted(root.iterdir())
8 if entry.is_file() and entry.suffix == '.sql'
9 ]