Skip to content

Commit 4405cf8

Browse files
updating mypy and remediating issue (#1380)
1 parent ed9e268 commit 4405cf8

File tree

3 files changed

+593
-578
lines changed

3 files changed

+593
-578
lines changed

awswrangler/s3/_read.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,6 @@ def _apply_partitions(df: pd.DataFrame, dataset: bool, path: str, path_root: Opt
9393
return df
9494
if dataset is True and path_root is None:
9595
raise exceptions.InvalidArgument("A path_root is required when dataset=True.")
96-
path_root = cast(str, path_root)
9796
partitions: Dict[str, str] = _extract_partitions_from_path(path_root=path_root, path=path)
9897
_logger.debug("partitions: %s", partitions)
9998
count: int = len(df.index)

0 commit comments

Comments
 (0)