cloud-files 5.1.0__py3-none-any.whl → 5.1.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.
- {cloud_files-5.1.0.dist-info → cloud_files-5.1.1.dist-info}/METADATA +1 -1
- {cloud_files-5.1.0.dist-info → cloud_files-5.1.1.dist-info}/RECORD +9 -9
- cloud_files-5.1.1.dist-info/pbr.json +1 -0
- cloudfiles/interfaces.py +9 -0
- cloud_files-5.1.0.dist-info/pbr.json +0 -1
- {cloud_files-5.1.0.dist-info → cloud_files-5.1.1.dist-info}/AUTHORS +0 -0
- {cloud_files-5.1.0.dist-info → cloud_files-5.1.1.dist-info}/LICENSE +0 -0
- {cloud_files-5.1.0.dist-info → cloud_files-5.1.1.dist-info}/WHEEL +0 -0
- {cloud_files-5.1.0.dist-info → cloud_files-5.1.1.dist-info}/entry_points.txt +0 -0
- {cloud_files-5.1.0.dist-info → cloud_files-5.1.1.dist-info}/top_level.txt +0 -0
|
@@ -4,7 +4,7 @@ cloudfiles/compression.py,sha256=pqYdpu5vfFv-094BpfZ2pgRjVu7ESM9pAZC09P6E8bY,615
|
|
|
4
4
|
cloudfiles/connectionpools.py,sha256=aL8RiSjRepECfgAFmJcz80aJFKbou7hsbuEgugDKwB8,4814
|
|
5
5
|
cloudfiles/exceptions.py,sha256=N0oGQNG-St6RvnT8e5p_yC_E61q2kgAe2scwAL0F49c,843
|
|
6
6
|
cloudfiles/gcs.py,sha256=unqu5KxGKaPq6N4QeHSpCDdtnK1BzPOAerTZ8FLt2_4,3820
|
|
7
|
-
cloudfiles/interfaces.py,sha256=
|
|
7
|
+
cloudfiles/interfaces.py,sha256=8Gez-1q1Ulb6p_qSfydwAKXvJybVi-QS0yfkvSnm44I,43862
|
|
8
8
|
cloudfiles/lib.py,sha256=9YFGMCy0mi23baqtsr-f5Gd1ewAGvD7x3UVNt772Z9E,5317
|
|
9
9
|
cloudfiles/paths.py,sha256=4B3qWjR2TP8wAYK4NLw-iy2KUn3VNspKp6_Vy4j3I8A,11592
|
|
10
10
|
cloudfiles/resumable_tools.py,sha256=NyuSoGh1SaP5akrHCpd9kgy2-JruEWrHW9lvJxV7jpE,6711
|
|
@@ -15,11 +15,11 @@ cloudfiles/typing.py,sha256=f3ZYkNfN9poxhGu5j-P0KCxjCCqSn9HAg5KiIPkjnCg,416
|
|
|
15
15
|
cloudfiles_cli/LICENSE,sha256=Jna4xYE8CCQmaxjr5Fs-wmUBnIQJ1DGcNn9MMjbkprk,1538
|
|
16
16
|
cloudfiles_cli/__init__.py,sha256=Wftt3R3F21QsHtWqx49ODuqT9zcSr0em7wk48kcH0WM,29
|
|
17
17
|
cloudfiles_cli/cloudfiles_cli.py,sha256=_2Amjp3vsdq7vQgF2utD6BJqjOPKXOTjrJyehnlojpQ,34893
|
|
18
|
-
cloud_files-5.1.
|
|
19
|
-
cloud_files-5.1.
|
|
20
|
-
cloud_files-5.1.
|
|
21
|
-
cloud_files-5.1.
|
|
22
|
-
cloud_files-5.1.
|
|
23
|
-
cloud_files-5.1.
|
|
24
|
-
cloud_files-5.1.
|
|
25
|
-
cloud_files-5.1.
|
|
18
|
+
cloud_files-5.1.1.dist-info/AUTHORS,sha256=BFVmobgAhaVFI5fqbuqAY5XmBQxe09ZZAsAOTy87hKQ,318
|
|
19
|
+
cloud_files-5.1.1.dist-info/LICENSE,sha256=Jna4xYE8CCQmaxjr5Fs-wmUBnIQJ1DGcNn9MMjbkprk,1538
|
|
20
|
+
cloud_files-5.1.1.dist-info/METADATA,sha256=BvXLKejFeTRrk-xA-C43tBNwBToAWNb0kc_wArTYFwk,27047
|
|
21
|
+
cloud_files-5.1.1.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
|
22
|
+
cloud_files-5.1.1.dist-info/entry_points.txt,sha256=xlirb1FVhn1mbcv4IoyMEGumDqKOA4VMVd3drsRQxIg,51
|
|
23
|
+
cloud_files-5.1.1.dist-info/pbr.json,sha256=0f1MfoUsmR8uufmjDCLBvW5H2ILfcWRnzLTzR_0ufbg,46
|
|
24
|
+
cloud_files-5.1.1.dist-info/top_level.txt,sha256=xPyrST3okJbsmdCF5IC2gYAVxg_aD5AYVTnNo8UuoZU,26
|
|
25
|
+
cloud_files-5.1.1.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"git_version": "39ec622", "is_release": true}
|
cloudfiles/interfaces.py
CHANGED
|
@@ -707,6 +707,7 @@ class GoogleCloudStorageInterface(StorageInterface):
|
|
|
707
707
|
key = self.get_path_to_file(src)
|
|
708
708
|
blob = self._bucket.blob(key)
|
|
709
709
|
try:
|
|
710
|
+
mkdir(os.path.dirname(dest))
|
|
710
711
|
blob.download_to_filename(
|
|
711
712
|
filename=dest,
|
|
712
713
|
raw_download=True,
|
|
@@ -834,6 +835,14 @@ class GoogleCloudStorageInterface(StorageInterface):
|
|
|
834
835
|
elif flat and '/' not in blob.name.removeprefix(path):
|
|
835
836
|
yield filename
|
|
836
837
|
|
|
838
|
+
# When there are no regular items at this level
|
|
839
|
+
# we need to still print the directories.
|
|
840
|
+
if first and blobs.prefixes:
|
|
841
|
+
yield from (
|
|
842
|
+
item.removeprefix(path)
|
|
843
|
+
for item in blobs.prefixes
|
|
844
|
+
)
|
|
845
|
+
|
|
837
846
|
def release_connection(self):
|
|
838
847
|
global GC_POOL
|
|
839
848
|
with GCS_BUCKET_POOL_LOCK:
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"git_version": "4678ea6", "is_release": true}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|