NGPIris 5.2.1.dev2__py3-none-any.whl → 5.2.2__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.
- NGPIris/hcp/hcp.py +7 -2
- {NGPIris-5.2.1.dev2.dist-info → NGPIris-5.2.2.dist-info}/METADATA +1 -1
- {NGPIris-5.2.1.dev2.dist-info → NGPIris-5.2.2.dist-info}/RECORD +7 -7
- {NGPIris-5.2.1.dev2.dist-info → NGPIris-5.2.2.dist-info}/LICENSE +0 -0
- {NGPIris-5.2.1.dev2.dist-info → NGPIris-5.2.2.dist-info}/WHEEL +0 -0
- {NGPIris-5.2.1.dev2.dist-info → NGPIris-5.2.2.dist-info}/entry_points.txt +0 -0
- {NGPIris-5.2.1.dev2.dist-info → NGPIris-5.2.2.dist-info}/top_level.txt +0 -0
NGPIris/hcp/hcp.py
CHANGED
|
@@ -80,7 +80,7 @@ class HCPHandler:
|
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
self.tenant = None
|
|
83
|
-
for endpoint_format_string in ["https://{}.ngp-fs1000.vgregion.se", "https://{}.ngp-fs2000.vgregion.se", "https://{}.ngp-fs3000.vgregion.se", "https://{}.vgregion.sjunet.org"]:
|
|
83
|
+
for endpoint_format_string in ["https://{}.ngp-fs1000.vgregion.se", "https://{}.ngp-fs2000.vgregion.se", "https://{}.ngp-fs3000.vgregion.se", "https://{}.hcp1.vgregion.se", "https://{}.vgregion.sjunet.org"]:
|
|
84
84
|
tenant_parse = parse(endpoint_format_string, self.endpoint)
|
|
85
85
|
if type(tenant_parse) is Result:
|
|
86
86
|
tenant = str(tenant_parse[0])
|
|
@@ -148,7 +148,7 @@ class HCPHandler:
|
|
|
148
148
|
else:
|
|
149
149
|
self.transfer_config = TransferConfig(
|
|
150
150
|
multipart_threshold = 10 * _MB,
|
|
151
|
-
max_concurrency =
|
|
151
|
+
max_concurrency = 30,
|
|
152
152
|
multipart_chunksize = 40 * _MB,
|
|
153
153
|
use_threads = True
|
|
154
154
|
)
|
|
@@ -284,6 +284,11 @@ class HCPHandler:
|
|
|
284
284
|
|
|
285
285
|
pages_filtered = pages.search(filter_string)
|
|
286
286
|
for object in pages_filtered:
|
|
287
|
+
# If there are no objects in the bucket, then `object` will be None,
|
|
288
|
+
# which means that we should break out of the for loop
|
|
289
|
+
if not object:
|
|
290
|
+
break
|
|
291
|
+
|
|
287
292
|
# Split the object key by "/"
|
|
288
293
|
split_object = object["Key"].split("/")
|
|
289
294
|
# Check if the object is within the specified path_key depth
|
|
@@ -6,16 +6,16 @@ NGPIris/hci/hci.py,sha256=-7RBWPGqlINVNsl-GbjuXkcLdIF5cs4cu3OFt2FJi1E,4321
|
|
|
6
6
|
NGPIris/hci/helpers.py,sha256=THZt9ItmEsEiuvB1v99orAx1oOMgBdGR62PQyOre5yo,2592
|
|
7
7
|
NGPIris/hcp/__init__.py,sha256=yMDW3WpxsU89GNcBJ3ApeGHOmWvisfuuAsZxwlKWnpw,38
|
|
8
8
|
NGPIris/hcp/exceptions.py,sha256=24irbs3JMWaVOM_gf4ByR1hfYPpEP1eXPgHvq77uuqU,361
|
|
9
|
-
NGPIris/hcp/hcp.py,sha256=
|
|
9
|
+
NGPIris/hcp/hcp.py,sha256=mlWX4eaSxczd9vIqtJdongpfE9Nn83pdoO8d0xRLbV4,26937
|
|
10
10
|
NGPIris/hcp/helpers.py,sha256=SRHX-B6TSDogK7Mz2co7VkzHtZdtMaMeH-_NoDWEDh8,1406
|
|
11
11
|
NGPIris/hcp/statistics.py,sha256=8VgRC-7hWQOCRWwoKk4NHCtGTdY_4C2iHcAHEXKJ0kM,817
|
|
12
12
|
NGPIris/parse_credentials/__init__.py,sha256=O9uq_F9uOtuW7giW-t10KV4VmTgfkvgaBEwQU43Sf-w,57
|
|
13
13
|
NGPIris/parse_credentials/parse_credentials.py,sha256=E1NzQCMvjOa2mGLBkEYshZomNSxfSCkoc_iUhUfpBEM,2106
|
|
14
14
|
NGPIris/utils/__init__.py,sha256=yPCEc1-_7r01dZ-31EKiA7Jova7ztX7XXuU95IKmKX8,59
|
|
15
15
|
NGPIris/utils/utils.py,sha256=m9qwLuOoiqVNRy7B4raYNFJkigL_wE--PiWhyhVhHII,248
|
|
16
|
-
NGPIris-5.2.
|
|
17
|
-
NGPIris-5.2.
|
|
18
|
-
NGPIris-5.2.
|
|
19
|
-
NGPIris-5.2.
|
|
20
|
-
NGPIris-5.2.
|
|
21
|
-
NGPIris-5.2.
|
|
16
|
+
NGPIris-5.2.2.dist-info/LICENSE,sha256=ZA2Q9u5AEkH_YoNNDRsz-DBJ6ZuL_foE7RsKFjXd4-c,18093
|
|
17
|
+
NGPIris-5.2.2.dist-info/METADATA,sha256=c2MhZ6kLyXhMEBzpGEbW_-xsvhCBS-pgqLYdssjKs54,7075
|
|
18
|
+
NGPIris-5.2.2.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
|
19
|
+
NGPIris-5.2.2.dist-info/entry_points.txt,sha256=t8ADhe3ovPm9tW3XDZq1_vKmfHY98Ei_o6WioJobNzU,117
|
|
20
|
+
NGPIris-5.2.2.dist-info/top_level.txt,sha256=954WCuIJkle_SMtr7MNPapiiLLAFhlKbcz6Bp89-2V0,8
|
|
21
|
+
NGPIris-5.2.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|