wmill 1.276.0__tar.gz → 1.277.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of wmill might be problematic. Click here for more details.
- {wmill-1.276.0 → wmill-1.277.0}/PKG-INFO +1 -1
- {wmill-1.276.0 → wmill-1.277.0}/pyproject.toml +1 -1
- {wmill-1.276.0 → wmill-1.277.0}/wmill/client.py +3 -3
- {wmill-1.276.0 → wmill-1.277.0}/README.md +0 -0
- {wmill-1.276.0 → wmill-1.277.0}/wmill/__init__.py +0 -0
- {wmill-1.276.0 → wmill-1.277.0}/wmill/py.typed +0 -0
- {wmill-1.276.0 → wmill-1.277.0}/wmill/s3_reader.py +0 -0
- {wmill-1.276.0 → wmill-1.277.0}/wmill/s3_types.py +0 -0
|
@@ -715,7 +715,7 @@ def boto3_connection_settings(s3_resource_path: str = "") -> Boto3ConnectionSett
|
|
|
715
715
|
|
|
716
716
|
|
|
717
717
|
@init_global_client
|
|
718
|
-
def load_s3_file(s3object: S3Object, s3_resource_path: str =
|
|
718
|
+
def load_s3_file(s3object: S3Object, s3_resource_path: str | None = None) -> bytes:
|
|
719
719
|
"""
|
|
720
720
|
Load the entire content of a file stored in S3 as bytes
|
|
721
721
|
"""
|
|
@@ -723,7 +723,7 @@ def load_s3_file(s3object: S3Object, s3_resource_path: str = "") -> bytes:
|
|
|
723
723
|
|
|
724
724
|
|
|
725
725
|
@init_global_client
|
|
726
|
-
def load_s3_file_reader(s3object: S3Object, s3_resource_path: str =
|
|
726
|
+
def load_s3_file_reader(s3object: S3Object, s3_resource_path: str | None = None) -> BufferedReader:
|
|
727
727
|
"""
|
|
728
728
|
Load the content of a file stored in S3
|
|
729
729
|
"""
|
|
@@ -734,7 +734,7 @@ def load_s3_file_reader(s3object: S3Object, s3_resource_path: str = "") -> Buffe
|
|
|
734
734
|
def write_s3_file(
|
|
735
735
|
s3object: S3Object | None,
|
|
736
736
|
file_content: BufferedReader | bytes,
|
|
737
|
-
s3_resource_path: str =
|
|
737
|
+
s3_resource_path: str | None = None,
|
|
738
738
|
) -> S3Object:
|
|
739
739
|
"""
|
|
740
740
|
Upload a file to S3
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|