Skip to content

Commit bd9ab94

Browse files
committed
Breaking up s3 module in multiple files.
1 parent 10749e2 commit bd9ab94

File tree

10 files changed

+2780
-2680
lines changed

10 files changed

+2780
-2680
lines changed

awswrangler/db.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
from sqlalchemy.sql.visitors import VisitableType # type: ignore
1414

1515
from awswrangler import _data_types, _utils, exceptions, s3
16+
from awswrangler.s3._list import path2list # noqa
1617

1718
_logger: logging.Logger = logging.getLogger(__name__)
1819

@@ -655,7 +656,7 @@ def copy_files_to_redshift( # pylint: disable=too-many-locals,too-many-argument
655656
"""
656657
_varchar_lengths: Dict[str, int] = {} if varchar_lengths is None else varchar_lengths
657658
session: boto3.Session = _utils.ensure_session(session=boto3_session)
658-
paths: List[str] = s3._path2list(path=path, boto3_session=session) # pylint: disable=protected-access
659+
paths: List[str] = path2list(path=path, boto3_session=session) # pylint: disable=protected-access
659660
manifest_directory = manifest_directory if manifest_directory.endswith("/") else f"{manifest_directory}/"
660661
manifest_path: str = f"{manifest_directory}manifest.json"
661662
write_redshift_copy_manifest(

0 commit comments

Comments
 (0)