gdex-api-client 2.0.7__tar.gz → 2.0.8__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.
- {gdex_api_client-2.0.7/src/gdex_api_client.egg-info → gdex_api_client-2.0.8}/PKG-INFO +1 -1
- {gdex_api_client-2.0.7 → gdex_api_client-2.0.8}/pyproject.toml +1 -1
- {gdex_api_client-2.0.7 → gdex_api_client-2.0.8}/src/gdex_api_client/gdex_client.py +9 -9
- {gdex_api_client-2.0.7 → gdex_api_client-2.0.8/src/gdex_api_client.egg-info}/PKG-INFO +1 -1
- {gdex_api_client-2.0.7 → gdex_api_client-2.0.8}/LICENSE +0 -0
- {gdex_api_client-2.0.7 → gdex_api_client-2.0.8}/docs/README.md +0 -0
- {gdex_api_client-2.0.7 → gdex_api_client-2.0.8}/setup.cfg +0 -0
- {gdex_api_client-2.0.7 → gdex_api_client-2.0.8}/src/gdex_api_client/__init__.py +0 -0
- {gdex_api_client-2.0.7 → gdex_api_client-2.0.8}/src/gdex_api_client.egg-info/SOURCES.txt +0 -0
- {gdex_api_client-2.0.7 → gdex_api_client-2.0.8}/src/gdex_api_client.egg-info/dependency_links.txt +0 -0
- {gdex_api_client-2.0.7 → gdex_api_client-2.0.8}/src/gdex_api_client.egg-info/entry_points.txt +0 -0
- {gdex_api_client-2.0.7 → gdex_api_client-2.0.8}/src/gdex_api_client.egg-info/requires.txt +0 -0
- {gdex_api_client-2.0.7 → gdex_api_client-2.0.8}/src/gdex_api_client.egg-info/top_level.txt +0 -0
- {gdex_api_client-2.0.7 → gdex_api_client-2.0.8}/test/test_rdams_client.py +0 -0
|
@@ -51,7 +51,7 @@ def query(args=None):
|
|
|
51
51
|
```
|
|
52
52
|
>>> query(['-get_status', '123456'])
|
|
53
53
|
|
|
54
|
-
>>> query(['-get_metadata', '
|
|
54
|
+
>>> query(['-get_metadata', 'd083002'])
|
|
55
55
|
```
|
|
56
56
|
"""
|
|
57
57
|
parser = get_parser()
|
|
@@ -288,7 +288,7 @@ def get_summary(ds):
|
|
|
288
288
|
"""Returns summary of dataset.
|
|
289
289
|
|
|
290
290
|
Args:
|
|
291
|
-
ds (str): Datset id. e.g. '
|
|
291
|
+
ds (str): Datset id. e.g. 'd083002'
|
|
292
292
|
|
|
293
293
|
Returns:
|
|
294
294
|
dict: JSON decoded result of the query.
|
|
@@ -306,7 +306,7 @@ def get_metadata(ds):
|
|
|
306
306
|
"""Return metadata of dataset.
|
|
307
307
|
|
|
308
308
|
Args:
|
|
309
|
-
ds (str): Datset id. e.g. '
|
|
309
|
+
ds (str): Datset id. e.g. 'd083002'
|
|
310
310
|
|
|
311
311
|
Returns:
|
|
312
312
|
dict: JSON decoded result of the query.
|
|
@@ -324,7 +324,7 @@ def get_all_params(ds):
|
|
|
324
324
|
"""Return set of parameters for a dataset.
|
|
325
325
|
|
|
326
326
|
Args:
|
|
327
|
-
ds (str): Datset id. e.g. '
|
|
327
|
+
ds (str): Datset id. e.g. 'd083002'
|
|
328
328
|
|
|
329
329
|
Returns:
|
|
330
330
|
set: All unique params in dataset.
|
|
@@ -341,7 +341,7 @@ def get_param_summary(ds):
|
|
|
341
341
|
"""Return summary of parameters for a dataset.
|
|
342
342
|
|
|
343
343
|
Args:
|
|
344
|
-
ds (str): Datset id. e.g. '
|
|
344
|
+
ds (str): Datset id. e.g. 'd083002'
|
|
345
345
|
|
|
346
346
|
Returns:
|
|
347
347
|
dict: JSON decoded result of the query.
|
|
@@ -483,7 +483,7 @@ def get_control_file_template(ds):
|
|
|
483
483
|
"""Write a control file for use in subset requests.
|
|
484
484
|
|
|
485
485
|
Args:
|
|
486
|
-
ds (str): datset id. e.g. '
|
|
486
|
+
ds (str): datset id. e.g. 'd083002'
|
|
487
487
|
|
|
488
488
|
Returns:
|
|
489
489
|
dict: JSON decoded result of the query.
|
|
@@ -501,7 +501,7 @@ def write_control_file_template(ds, write_location='./'):
|
|
|
501
501
|
"""Write a control file for use in subset requests.
|
|
502
502
|
|
|
503
503
|
Args:
|
|
504
|
-
ds (str): datset id. e.g. '
|
|
504
|
+
ds (str): datset id. e.g. 'd083002'
|
|
505
505
|
write_location (str, Optional): Directory in which to write.
|
|
506
506
|
Defaults to working directory
|
|
507
507
|
|
|
@@ -509,7 +509,7 @@ def write_control_file_template(ds, write_location='./'):
|
|
|
509
509
|
dict: JSON decoded result of the query.
|
|
510
510
|
"""
|
|
511
511
|
dsid = validate_dsid(ds)
|
|
512
|
-
_json = get_control_file_template(
|
|
512
|
+
_json = get_control_file_template(dsid)
|
|
513
513
|
control_str = _json['data']['template']
|
|
514
514
|
|
|
515
515
|
template_filename = write_location + dsid + '_control.ctl'
|
|
@@ -525,7 +525,7 @@ def purge_request(request_idx):
|
|
|
525
525
|
"""Write a control file for use in subset requests.
|
|
526
526
|
|
|
527
527
|
Args:
|
|
528
|
-
ds (str): datset id. e.g. '
|
|
528
|
+
ds (str): datset id. e.g. 'd083002'
|
|
529
529
|
write_location (str, Optional): Directory in which to write.
|
|
530
530
|
Defaults to working directory
|
|
531
531
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{gdex_api_client-2.0.7 → gdex_api_client-2.0.8}/src/gdex_api_client.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
{gdex_api_client-2.0.7 → gdex_api_client-2.0.8}/src/gdex_api_client.egg-info/entry_points.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|