rda-python-globus 1.0.18__tar.gz → 1.0.20__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.
- {rda_python_globus-1.0.18/src/rda_python_globus.egg-info → rda_python_globus-1.0.20}/PKG-INFO +1 -1
- {rda_python_globus-1.0.18 → rda_python_globus-1.0.20}/pyproject.toml +1 -1
- {rda_python_globus-1.0.18 → rda_python_globus-1.0.20}/src/rda_python_globus/lib/config.py +0 -4
- {rda_python_globus-1.0.18 → rda_python_globus-1.0.20}/src/rda_python_globus/task_management.py +2 -2
- {rda_python_globus-1.0.18 → rda_python_globus-1.0.20/src/rda_python_globus.egg-info}/PKG-INFO +1 -1
- {rda_python_globus-1.0.18 → rda_python_globus-1.0.20}/LICENSE +0 -0
- {rda_python_globus-1.0.18 → rda_python_globus-1.0.20}/README.md +0 -0
- {rda_python_globus-1.0.18 → rda_python_globus-1.0.20}/setup.cfg +0 -0
- {rda_python_globus-1.0.18 → rda_python_globus-1.0.20}/src/rda_python_globus/__init__.py +0 -0
- {rda_python_globus-1.0.18 → rda_python_globus-1.0.20}/src/rda_python_globus/file_management.py +0 -0
- {rda_python_globus-1.0.18 → rda_python_globus-1.0.20}/src/rda_python_globus/lib/__init__.py +0 -0
- {rda_python_globus-1.0.18 → rda_python_globus-1.0.20}/src/rda_python_globus/lib/auth.py +0 -0
- {rda_python_globus-1.0.18 → rda_python_globus-1.0.20}/src/rda_python_globus/list.py +0 -0
- {rda_python_globus-1.0.18 → rda_python_globus-1.0.20}/src/rda_python_globus/main.py +0 -0
- {rda_python_globus-1.0.18 → rda_python_globus-1.0.20}/src/rda_python_globus/transfer.py +0 -0
- {rda_python_globus-1.0.18 → rda_python_globus-1.0.20}/src/rda_python_globus.egg-info/SOURCES.txt +0 -0
- {rda_python_globus-1.0.18 → rda_python_globus-1.0.20}/src/rda_python_globus.egg-info/dependency_links.txt +0 -0
- {rda_python_globus-1.0.18 → rda_python_globus-1.0.20}/src/rda_python_globus.egg-info/entry_points.txt +0 -0
- {rda_python_globus-1.0.18 → rda_python_globus-1.0.20}/src/rda_python_globus.egg-info/requires.txt +0 -0
- {rda_python_globus-1.0.18 → rda_python_globus-1.0.20}/src/rda_python_globus.egg-info/top_level.txt +0 -0
- {rda_python_globus-1.0.18 → rda_python_globus-1.0.20}/tests/test_example.py +0 -0
{rda_python_globus-1.0.18/src/rda_python_globus.egg-info → rda_python_globus-1.0.20}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: rda_python_globus
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.20
|
|
4
4
|
Summary: Tools for managing Globus transfers supporting the NSF NCAR Geoscience Data Exchange (GDEX) project.
|
|
5
5
|
Author-email: Thomas Cram <tcram@ucar.edu>
|
|
6
6
|
Project-URL: Homepage, https://github.com/NCAR/rda-python-globus
|
|
@@ -17,7 +17,6 @@ LOGFILE = 'dsglobus-app.log'
|
|
|
17
17
|
""" Endpoint IDs """
|
|
18
18
|
RDA_DATASET_ENDPOINT = 'b6b5d5e8-eb14-4f6b-8928-c02429d67998'
|
|
19
19
|
RDA_DSRQST_ENDPOINT = 'e6cd9f43-935c-42e3-8d19-764d03241719'
|
|
20
|
-
RDA_STRATUS_ENDPOINT = 'be4aa6a8-9e35-11eb-8a8e-d70d98a40c8d'
|
|
21
20
|
RDA_GLADE_ENDPOINT = '7f0acd80-dfb2-4412-b7b5-ebc970bedf24'
|
|
22
21
|
RDA_QUASAR_ENDPOINT = 'e50caa88-feae-11ea-81a2-0e2f230cc907'
|
|
23
22
|
RDA_QUASAR_DR_ENDPOINT = '4c42c32c-feaf-11ea-81a2-0e2f230cc907'
|
|
@@ -25,7 +24,6 @@ GLOBUS_CGD_ENDPOINT_ID = '11651c26-80c2-4dac-a236-7755530731ac'
|
|
|
25
24
|
|
|
26
25
|
GDEX_DATASET_ENDPOINT = 'c4e40965-a024-43d7-bef4-6010f3731b61'
|
|
27
26
|
GDEX_DSRQST_ENDPOINT = 'e6cd9f43-935c-42e3-8d19-764d03241719'
|
|
28
|
-
GDEX_STRATUS_ENDPOINT = RDA_STRATUS_ENDPOINT # same as RDA Stratus
|
|
29
27
|
GDEX_OS_ENDPOINT = '558ad782-80dd-4656-a64a-2245f38a7c9e' # GDEX Boreas S3 guest collection
|
|
30
28
|
GDEX_GLADE_ENDPOINT = '039e1667-8a6c-4cbd-8e26-1f86c72f6e89'
|
|
31
29
|
GDEX_QUASAR_ENDPOINT = RDA_QUASAR_ENDPOINT # same as RDA Quasar
|
|
@@ -42,13 +40,11 @@ ENDPOINT_ALIASES = {
|
|
|
42
40
|
"rda-quasar-drdata": RDA_QUASAR_DR_ENDPOINT,
|
|
43
41
|
"rda-dataset": RDA_DATASET_ENDPOINT,
|
|
44
42
|
"rda-dsrqst": RDA_DSRQST_ENDPOINT,
|
|
45
|
-
"rda-stratus": RDA_STRATUS_ENDPOINT,
|
|
46
43
|
"gdex-glade": GDEX_GLADE_ENDPOINT,
|
|
47
44
|
"gdex-quasar": GDEX_QUASAR_ENDPOINT,
|
|
48
45
|
"gdex-quasar-drdata": GDEX_QUASAR_DR_ENDPOINT,
|
|
49
46
|
"gdex-dataset": GDEX_DATASET_ENDPOINT,
|
|
50
47
|
"gdex-dsrqst": GDEX_DSRQST_ENDPOINT,
|
|
51
|
-
"gdex-stratus": GDEX_STRATUS_ENDPOINT,
|
|
52
48
|
"gdex-os": GDEX_OS_ENDPOINT,
|
|
53
49
|
"gdex-boreas": GDEX_OS_ENDPOINT,
|
|
54
50
|
"cgd": GLOBUS_CGD_ENDPOINT_ID,
|
{rda_python_globus-1.0.18 → rda_python_globus-1.0.20}/src/rda_python_globus/task_management.py
RENAMED
|
@@ -250,10 +250,10 @@ def task_event_list(task_id: uuid.UUID, limit: int, offset: int, error_only: boo
|
|
|
250
250
|
if not task_id:
|
|
251
251
|
raise click.UsageError("TASK_ID is required.")
|
|
252
252
|
|
|
253
|
+
filters = {"filter": "is_error:1"} if error_only else None
|
|
254
|
+
|
|
253
255
|
tc = transfer_client(namespace=namespace)
|
|
254
256
|
try:
|
|
255
|
-
if error_only:
|
|
256
|
-
filters = {"filter": "is_error:1"}
|
|
257
257
|
for event in tc.task_event_list(task_id, limit=limit, offset=offset, query_params=filters):
|
|
258
258
|
print(f"Event on Task({task_id}) at {event['time']}:\n{event['code']}\n{event['description']}\n{event['details']}\n")
|
|
259
259
|
except (GlobusAPIError, NetworkError) as e:
|
{rda_python_globus-1.0.18 → rda_python_globus-1.0.20/src/rda_python_globus.egg-info}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: rda_python_globus
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.20
|
|
4
4
|
Summary: Tools for managing Globus transfers supporting the NSF NCAR Geoscience Data Exchange (GDEX) project.
|
|
5
5
|
Author-email: Thomas Cram <tcram@ucar.edu>
|
|
6
6
|
Project-URL: Homepage, https://github.com/NCAR/rda-python-globus
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{rda_python_globus-1.0.18 → rda_python_globus-1.0.20}/src/rda_python_globus/file_management.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{rda_python_globus-1.0.18 → rda_python_globus-1.0.20}/src/rda_python_globus.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{rda_python_globus-1.0.18 → rda_python_globus-1.0.20}/src/rda_python_globus.egg-info/requires.txt
RENAMED
|
File without changes
|
{rda_python_globus-1.0.18 → rda_python_globus-1.0.20}/src/rda_python_globus.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|