wmill 1.340.2__py3-none-any.whl → 1.341.1__py3-none-any.whl
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.
wmill/client.py
CHANGED
@@ -440,7 +440,7 @@ class Windmill:
|
|
440
440
|
print(file_reader.read())
|
441
441
|
'''
|
442
442
|
"""
|
443
|
-
reader = S3BufferedReader(f"{self.workspace}", self.client, s3object["s3"], s3_resource_path, s3object["storage"])
|
443
|
+
reader = S3BufferedReader(f"{self.workspace}", self.client, s3object["s3"], s3_resource_path, s3object["storage"] if "storage" in s3object else None)
|
444
444
|
return reader
|
445
445
|
|
446
446
|
def write_s3_file(
|
@@ -479,7 +479,7 @@ class Windmill:
|
|
479
479
|
query_params["file_key"] = s3object["s3"]
|
480
480
|
if s3_resource_path is not None and s3_resource_path != "":
|
481
481
|
query_params["s3_resource_path"] = s3_resource_path
|
482
|
-
if s3object is not None and s3object["storage"] is not None:
|
482
|
+
if s3object is not None and "storage" in s3object and s3object["storage"] is not None:
|
483
483
|
query_params["storage"] = s3object["storage"]
|
484
484
|
|
485
485
|
try:
|
@@ -1,8 +1,8 @@
|
|
1
1
|
wmill/__init__.py,sha256=nGZnQPezTdrBnBW1D0JqUtm75Gdf_xi3tAcPGwHRZ5A,46
|
2
|
-
wmill/client.py,sha256=
|
2
|
+
wmill/client.py,sha256=T8XSpxVjYADMzKeYaSy7HvhXz-cy8zfpwbSWumLIFxA,32343
|
3
3
|
wmill/py.typed,sha256=8PjyZ1aVoQpRVvt71muvuq5qE-jTFZkK-GLHkhdebmc,26
|
4
4
|
wmill/s3_reader.py,sha256=izHlg2Xsg0Sr_LkDDEC35VuEijJcuPBDIm-xj21KsgU,1668
|
5
5
|
wmill/s3_types.py,sha256=XVjPyc5sjWesTy6nnRReojhyPgPsaT0EY3X57mWUaJ4,1173
|
6
|
-
wmill-1.
|
7
|
-
wmill-1.
|
8
|
-
wmill-1.
|
6
|
+
wmill-1.341.1.dist-info/METADATA,sha256=bK9DvaFCD68oN-BNxODJXReXhBBPshuin0HL54V4YGI,2699
|
7
|
+
wmill-1.341.1.dist-info/WHEEL,sha256=d2fvjOD7sXsVzChCqf0Ty0JbHKBaLYwDbGQDwQTnJ50,88
|
8
|
+
wmill-1.341.1.dist-info/RECORD,,
|
File without changes
|