File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1340,10 +1340,10 @@ def _resolve_local_path(path_str: str) -> Path:
1340
1340
1341
1341
1342
1342
def iterdir (
1343
- path : FilePath | BaseBuffer ,
1343
+ path : FilePath | ReadCsvBuffer [ bytes ] | ReadCsvBuffer [ str ] ,
1344
1344
extensions : str | Iterable [str ] | None = None ,
1345
1345
glob : str | None = None ,
1346
- ) -> list [str | Path ] | BaseBuffer :
1346
+ ) -> list [FilePath ] | ReadCsvBuffer [ bytes ] | ReadCsvBuffer [ str ] :
1347
1347
"""Yield file paths in a directory (no nesting allowed).
1348
1348
1349
1349
Supports:
Original file line number Diff line number Diff line change @@ -671,7 +671,7 @@ def _validate_names(names: Sequence[Hashable] | None) -> None:
671
671
672
672
673
673
def _multi_file_generator (
674
- list_of_files : list [str ], kwds
674
+ list_of_files : list [FilePath ], kwds
675
675
) -> Generator [DataFrame ] | Generator [TextFileReader ]:
676
676
"""Generator for multiple files."""
677
677
for file in list_of_files :
You can’t perform that action at this time.
0 commit comments