data-repo-client 2.197.0__py3-none-any.whl → 2.360.0__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.
Potentially problematic release.
This version of data-repo-client might be problematic. Click here for more details.
- data_repo_client/__init__.py +3 -1
- data_repo_client/api/admin_api.py +2 -2
- data_repo_client/api/datasets_api.py +271 -30
- data_repo_client/api/profiles_api.py +120 -6
- data_repo_client/api/repository_api.py +408 -40
- data_repo_client/api/resources_api.py +120 -6
- data_repo_client/api/snapshots_api.py +133 -6
- data_repo_client/api/upgrade_api.py +2 -2
- data_repo_client/api_client.py +1 -1
- data_repo_client/configuration.py +1 -1
- data_repo_client/models/__init__.py +2 -0
- data_repo_client/models/dataset_model.py +31 -3
- data_repo_client/models/dataset_request_model.py +29 -1
- data_repo_client/models/dataset_summary_model.py +31 -3
- data_repo_client/models/enumerate_billing_profile_resources_model.py +120 -0
- data_repo_client/models/iam_resource_type_enum.py +2 -1
- data_repo_client/models/profile_owned_resource_model.py +240 -0
- data_repo_client/models/sam_policy_model.py +27 -1
- {data_repo_client-2.197.0.dist-info → data_repo_client-2.360.0.dist-info}/METADATA +1 -1
- {data_repo_client-2.197.0.dist-info → data_repo_client-2.360.0.dist-info}/RECORD +22 -20
- {data_repo_client-2.197.0.dist-info → data_repo_client-2.360.0.dist-info}/WHEEL +0 -0
- {data_repo_client-2.197.0.dist-info → data_repo_client-2.360.0.dist-info}/top_level.txt +0 -0
data_repo_client/__init__.py
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
|
|
15
15
|
from __future__ import absolute_import
|
|
16
16
|
|
|
17
|
-
__version__ = "2.
|
|
17
|
+
__version__ = "2.360.0"
|
|
18
18
|
|
|
19
19
|
# import apis into sdk package
|
|
20
20
|
from data_repo_client.api.data_repository_service_api import DataRepositoryServiceApi
|
|
@@ -111,6 +111,7 @@ from data_repo_client.models.drs_alias_model import DrsAliasModel
|
|
|
111
111
|
from data_repo_client.models.duos_firecloud_group_model import DuosFirecloudGroupModel
|
|
112
112
|
from data_repo_client.models.duos_firecloud_groups_sync_response import DuosFirecloudGroupsSyncResponse
|
|
113
113
|
from data_repo_client.models.enumerate_billing_profile_model import EnumerateBillingProfileModel
|
|
114
|
+
from data_repo_client.models.enumerate_billing_profile_resources_model import EnumerateBillingProfileResourcesModel
|
|
114
115
|
from data_repo_client.models.enumerate_dataset_model import EnumerateDatasetModel
|
|
115
116
|
from data_repo_client.models.enumerate_snapshot_access_request import EnumerateSnapshotAccessRequest
|
|
116
117
|
from data_repo_client.models.enumerate_snapshot_model import EnumerateSnapshotModel
|
|
@@ -131,6 +132,7 @@ from data_repo_client.models.journal_entry_model import JournalEntryModel
|
|
|
131
132
|
from data_repo_client.models.policy_member_request import PolicyMemberRequest
|
|
132
133
|
from data_repo_client.models.policy_model import PolicyModel
|
|
133
134
|
from data_repo_client.models.policy_response import PolicyResponse
|
|
135
|
+
from data_repo_client.models.profile_owned_resource_model import ProfileOwnedResourceModel
|
|
134
136
|
from data_repo_client.models.query_column_statistics_request_model import QueryColumnStatisticsRequestModel
|
|
135
137
|
from data_repo_client.models.query_data_request_model import QueryDataRequestModel
|
|
136
138
|
from data_repo_client.models.relationship_model import RelationshipModel
|
|
@@ -267,7 +267,7 @@ class AdminApi(object):
|
|
|
267
267
|
def register_drs_aliases(self, **kwargs): # noqa: E501
|
|
268
268
|
"""register_drs_aliases # noqa: E501
|
|
269
269
|
|
|
270
|
-
Load Drs Aliases into TDR. It is possible to have an alias to a DRS ID that does not exist in TDR. # noqa: E501
|
|
270
|
+
Load Drs Aliases into TDR. It is possible to have an alias to a DRS ID that does not exist in TDR. This is asynchronous. Use the returned job id to check the retrieveJob endpoint for the job status or retrieveJobResult endpoint to get the final result. # noqa: E501
|
|
271
271
|
This method makes a synchronous HTTP request by default. To make an
|
|
272
272
|
asynchronous HTTP request, please pass async_req=True
|
|
273
273
|
>>> thread = api.register_drs_aliases(async_req=True)
|
|
@@ -292,7 +292,7 @@ class AdminApi(object):
|
|
|
292
292
|
def register_drs_aliases_with_http_info(self, **kwargs): # noqa: E501
|
|
293
293
|
"""register_drs_aliases # noqa: E501
|
|
294
294
|
|
|
295
|
-
Load Drs Aliases into TDR. It is possible to have an alias to a DRS ID that does not exist in TDR. # noqa: E501
|
|
295
|
+
Load Drs Aliases into TDR. It is possible to have an alias to a DRS ID that does not exist in TDR. This is asynchronous. Use the returned job id to check the retrieveJob endpoint for the job status or retrieveJobResult endpoint to get the final result. # noqa: E501
|
|
296
296
|
This method makes a synchronous HTTP request by default. To make an
|
|
297
297
|
asynchronous HTTP request, please pass async_req=True
|
|
298
298
|
>>> thread = api.register_drs_aliases_with_http_info(async_req=True)
|
|
@@ -39,7 +39,7 @@ class DatasetsApi(object):
|
|
|
39
39
|
def add_dataset_asset_specifications(self, id, **kwargs): # noqa: E501
|
|
40
40
|
"""add_dataset_asset_specifications # noqa: E501
|
|
41
41
|
|
|
42
|
-
Add an asset definition to a dataset # noqa: E501
|
|
42
|
+
Add an asset definition to a dataset. This is asynchronous. Use the returned job id to check the retrieveJob endpoint for the job status or retrieveJobResult endpoint to get the final result. # noqa: E501
|
|
43
43
|
This method makes a synchronous HTTP request by default. To make an
|
|
44
44
|
asynchronous HTTP request, please pass async_req=True
|
|
45
45
|
>>> thread = api.add_dataset_asset_specifications(id, async_req=True)
|
|
@@ -65,7 +65,7 @@ class DatasetsApi(object):
|
|
|
65
65
|
def add_dataset_asset_specifications_with_http_info(self, id, **kwargs): # noqa: E501
|
|
66
66
|
"""add_dataset_asset_specifications # noqa: E501
|
|
67
67
|
|
|
68
|
-
Add an asset definition to a dataset # noqa: E501
|
|
68
|
+
Add an asset definition to a dataset. This is asynchronous. Use the returned job id to check the retrieveJob endpoint for the job status or retrieveJobResult endpoint to get the final result. # noqa: E501
|
|
69
69
|
This method makes a synchronous HTTP request by default. To make an
|
|
70
70
|
asynchronous HTTP request, please pass async_req=True
|
|
71
71
|
>>> thread = api.add_dataset_asset_specifications_with_http_info(id, async_req=True)
|
|
@@ -291,10 +291,124 @@ class DatasetsApi(object):
|
|
|
291
291
|
_request_timeout=local_var_params.get('_request_timeout'),
|
|
292
292
|
collection_formats=collection_formats)
|
|
293
293
|
|
|
294
|
+
def adjust_members_inherit_steward(self, id, **kwargs): # noqa: E501
|
|
295
|
+
"""adjust_members_inherit_steward # noqa: E501
|
|
296
|
+
|
|
297
|
+
ADMIN ONLY - Adjust members on datasets based on inherit steward flag. This is asynchronous. Use the returned job id to check the retrieveJob endpoint for the job status or retrieveJobResult endpoint to get the final result. # noqa: E501
|
|
298
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
299
|
+
asynchronous HTTP request, please pass async_req=True
|
|
300
|
+
>>> thread = api.adjust_members_inherit_steward(id, async_req=True)
|
|
301
|
+
>>> result = thread.get()
|
|
302
|
+
|
|
303
|
+
:param async_req bool: execute request asynchronously
|
|
304
|
+
:param str id: A UUID to used to identify an object in the repository (required)
|
|
305
|
+
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
|
306
|
+
be returned without reading/decoding response
|
|
307
|
+
data. Default is True.
|
|
308
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
309
|
+
number provided, it will be total request
|
|
310
|
+
timeout. It can also be a pair (tuple) of
|
|
311
|
+
(connection, read) timeouts.
|
|
312
|
+
:return: JobModel
|
|
313
|
+
If the method is called asynchronously,
|
|
314
|
+
returns the request thread.
|
|
315
|
+
"""
|
|
316
|
+
kwargs['_return_http_data_only'] = True
|
|
317
|
+
return self.adjust_members_inherit_steward_with_http_info(id, **kwargs) # noqa: E501
|
|
318
|
+
|
|
319
|
+
def adjust_members_inherit_steward_with_http_info(self, id, **kwargs): # noqa: E501
|
|
320
|
+
"""adjust_members_inherit_steward # noqa: E501
|
|
321
|
+
|
|
322
|
+
ADMIN ONLY - Adjust members on datasets based on inherit steward flag. This is asynchronous. Use the returned job id to check the retrieveJob endpoint for the job status or retrieveJobResult endpoint to get the final result. # noqa: E501
|
|
323
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
324
|
+
asynchronous HTTP request, please pass async_req=True
|
|
325
|
+
>>> thread = api.adjust_members_inherit_steward_with_http_info(id, async_req=True)
|
|
326
|
+
>>> result = thread.get()
|
|
327
|
+
|
|
328
|
+
:param async_req bool: execute request asynchronously
|
|
329
|
+
:param str id: A UUID to used to identify an object in the repository (required)
|
|
330
|
+
:param _return_http_data_only: response data without head status code
|
|
331
|
+
and headers
|
|
332
|
+
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
|
333
|
+
be returned without reading/decoding response
|
|
334
|
+
data. Default is True.
|
|
335
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
336
|
+
number provided, it will be total request
|
|
337
|
+
timeout. It can also be a pair (tuple) of
|
|
338
|
+
(connection, read) timeouts.
|
|
339
|
+
:return: tuple(JobModel, status_code(int), headers(HTTPHeaderDict))
|
|
340
|
+
If the method is called asynchronously,
|
|
341
|
+
returns the request thread.
|
|
342
|
+
"""
|
|
343
|
+
|
|
344
|
+
local_var_params = locals()
|
|
345
|
+
|
|
346
|
+
all_params = [
|
|
347
|
+
'id'
|
|
348
|
+
]
|
|
349
|
+
all_params.extend(
|
|
350
|
+
[
|
|
351
|
+
'async_req',
|
|
352
|
+
'_return_http_data_only',
|
|
353
|
+
'_preload_content',
|
|
354
|
+
'_request_timeout'
|
|
355
|
+
]
|
|
356
|
+
)
|
|
357
|
+
|
|
358
|
+
for key, val in six.iteritems(local_var_params['kwargs']):
|
|
359
|
+
if key not in all_params:
|
|
360
|
+
raise ApiTypeError(
|
|
361
|
+
"Got an unexpected keyword argument '%s'"
|
|
362
|
+
" to method adjust_members_inherit_steward" % key
|
|
363
|
+
)
|
|
364
|
+
local_var_params[key] = val
|
|
365
|
+
del local_var_params['kwargs']
|
|
366
|
+
# verify the required parameter 'id' is set
|
|
367
|
+
if self.api_client.client_side_validation and ('id' not in local_var_params or # noqa: E501
|
|
368
|
+
local_var_params['id'] is None): # noqa: E501
|
|
369
|
+
raise ApiValueError("Missing the required parameter `id` when calling `adjust_members_inherit_steward`") # noqa: E501
|
|
370
|
+
|
|
371
|
+
collection_formats = {}
|
|
372
|
+
|
|
373
|
+
path_params = {}
|
|
374
|
+
if 'id' in local_var_params:
|
|
375
|
+
path_params['id'] = local_var_params['id'] # noqa: E501
|
|
376
|
+
|
|
377
|
+
query_params = []
|
|
378
|
+
|
|
379
|
+
header_params = {}
|
|
380
|
+
|
|
381
|
+
form_params = []
|
|
382
|
+
local_var_files = {}
|
|
383
|
+
|
|
384
|
+
body_params = None
|
|
385
|
+
# HTTP header `Accept`
|
|
386
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
387
|
+
['application/json']) # noqa: E501
|
|
388
|
+
|
|
389
|
+
# Authentication setting
|
|
390
|
+
auth_settings = ['oidc'] # noqa: E501
|
|
391
|
+
|
|
392
|
+
return self.api_client.call_api(
|
|
393
|
+
'/api/repository/v1/datasets/{id}/adjustMembersInheritSteward', 'PUT',
|
|
394
|
+
path_params,
|
|
395
|
+
query_params,
|
|
396
|
+
header_params,
|
|
397
|
+
body=body_params,
|
|
398
|
+
post_params=form_params,
|
|
399
|
+
files=local_var_files,
|
|
400
|
+
response_type='JobModel', # noqa: E501
|
|
401
|
+
auth_settings=auth_settings,
|
|
402
|
+
async_req=local_var_params.get('async_req'),
|
|
403
|
+
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
|
404
|
+
_preload_content=local_var_params.get('_preload_content', True),
|
|
405
|
+
_request_timeout=local_var_params.get('_request_timeout'),
|
|
406
|
+
collection_formats=collection_formats)
|
|
407
|
+
|
|
294
408
|
def apply_dataset_data_deletion(self, id, **kwargs): # noqa: E501
|
|
295
409
|
"""apply_dataset_data_deletion # noqa: E501
|
|
296
410
|
|
|
297
|
-
Applies deletes to primary tabular data in a dataset # noqa: E501
|
|
411
|
+
Applies deletes to primary tabular data in a dataset. This is asynchronous. Use the returned job id to check the retrieveJob endpoint for the job status or retrieveJobResult endpoint to get the final result. # noqa: E501
|
|
298
412
|
This method makes a synchronous HTTP request by default. To make an
|
|
299
413
|
asynchronous HTTP request, please pass async_req=True
|
|
300
414
|
>>> thread = api.apply_dataset_data_deletion(id, async_req=True)
|
|
@@ -320,7 +434,7 @@ class DatasetsApi(object):
|
|
|
320
434
|
def apply_dataset_data_deletion_with_http_info(self, id, **kwargs): # noqa: E501
|
|
321
435
|
"""apply_dataset_data_deletion # noqa: E501
|
|
322
436
|
|
|
323
|
-
Applies deletes to primary tabular data in a dataset # noqa: E501
|
|
437
|
+
Applies deletes to primary tabular data in a dataset. This is asynchronous. Use the returned job id to check the retrieveJob endpoint for the job status or retrieveJobResult endpoint to get the final result. # noqa: E501
|
|
324
438
|
This method makes a synchronous HTTP request by default. To make an
|
|
325
439
|
asynchronous HTTP request, please pass async_req=True
|
|
326
440
|
>>> thread = api.apply_dataset_data_deletion_with_http_info(id, async_req=True)
|
|
@@ -417,7 +531,7 @@ class DatasetsApi(object):
|
|
|
417
531
|
def bulk_file_load(self, id, **kwargs): # noqa: E501
|
|
418
532
|
"""bulk_file_load # noqa: E501
|
|
419
533
|
|
|
420
|
-
Load many files into the dataset file system; async returns a BulkLoadResultModel Note that this endpoint is not a single transaction. Some files may be loaded and others may fail. Each file load is atomic; the file will either be loaded into the dataset file system or it will not exist. # noqa: E501
|
|
534
|
+
Load many files into the dataset file system; async returns a BulkLoadResultModel Note that this endpoint is not a single transaction. Some files may be loaded and others may fail. Each file load is atomic; the file will either be loaded into the dataset file system or it will not exist. This is asynchronous. Use the returned job id to check the retrieveJob endpoint for the job status or retrieveJobResult endpoint to get the final result. # noqa: E501
|
|
421
535
|
This method makes a synchronous HTTP request by default. To make an
|
|
422
536
|
asynchronous HTTP request, please pass async_req=True
|
|
423
537
|
>>> thread = api.bulk_file_load(id, async_req=True)
|
|
@@ -443,7 +557,7 @@ class DatasetsApi(object):
|
|
|
443
557
|
def bulk_file_load_with_http_info(self, id, **kwargs): # noqa: E501
|
|
444
558
|
"""bulk_file_load # noqa: E501
|
|
445
559
|
|
|
446
|
-
Load many files into the dataset file system; async returns a BulkLoadResultModel Note that this endpoint is not a single transaction. Some files may be loaded and others may fail. Each file load is atomic; the file will either be loaded into the dataset file system or it will not exist. # noqa: E501
|
|
560
|
+
Load many files into the dataset file system; async returns a BulkLoadResultModel Note that this endpoint is not a single transaction. Some files may be loaded and others may fail. Each file load is atomic; the file will either be loaded into the dataset file system or it will not exist. This is asynchronous. Use the returned job id to check the retrieveJob endpoint for the job status or retrieveJobResult endpoint to get the final result. # noqa: E501
|
|
447
561
|
This method makes a synchronous HTTP request by default. To make an
|
|
448
562
|
asynchronous HTTP request, please pass async_req=True
|
|
449
563
|
>>> thread = api.bulk_file_load_with_http_info(id, async_req=True)
|
|
@@ -540,7 +654,7 @@ class DatasetsApi(object):
|
|
|
540
654
|
def bulk_file_load_array(self, id, **kwargs): # noqa: E501
|
|
541
655
|
"""bulk_file_load_array # noqa: E501
|
|
542
656
|
|
|
543
|
-
Load many files into the dataset file system; async returns a BulkLoadArrayResultModel Note that this endpoint is not a single transaction. Some files may be loaded and others may fail. Each file load is atomic; the file will either be loaded into the dataset file system or it will not exist. # noqa: E501
|
|
657
|
+
Load many files into the dataset file system; async returns a BulkLoadArrayResultModel Note that this endpoint is not a single transaction. Some files may be loaded and others may fail. Each file load is atomic; the file will either be loaded into the dataset file system or it will not exist. This is asynchronous. Use the returned job id to check the retrieveJob endpoint for the job status or retrieveJobResult endpoint to get the final result. # noqa: E501
|
|
544
658
|
This method makes a synchronous HTTP request by default. To make an
|
|
545
659
|
asynchronous HTTP request, please pass async_req=True
|
|
546
660
|
>>> thread = api.bulk_file_load_array(id, async_req=True)
|
|
@@ -566,7 +680,7 @@ class DatasetsApi(object):
|
|
|
566
680
|
def bulk_file_load_array_with_http_info(self, id, **kwargs): # noqa: E501
|
|
567
681
|
"""bulk_file_load_array # noqa: E501
|
|
568
682
|
|
|
569
|
-
Load many files into the dataset file system; async returns a BulkLoadArrayResultModel Note that this endpoint is not a single transaction. Some files may be loaded and others may fail. Each file load is atomic; the file will either be loaded into the dataset file system or it will not exist. # noqa: E501
|
|
683
|
+
Load many files into the dataset file system; async returns a BulkLoadArrayResultModel Note that this endpoint is not a single transaction. Some files may be loaded and others may fail. Each file load is atomic; the file will either be loaded into the dataset file system or it will not exist. This is asynchronous. Use the returned job id to check the retrieveJob endpoint for the job status or retrieveJobResult endpoint to get the final result. # noqa: E501
|
|
570
684
|
This method makes a synchronous HTTP request by default. To make an
|
|
571
685
|
asynchronous HTTP request, please pass async_req=True
|
|
572
686
|
>>> thread = api.bulk_file_load_array_with_http_info(id, async_req=True)
|
|
@@ -663,7 +777,7 @@ class DatasetsApi(object):
|
|
|
663
777
|
def bulk_file_results_delete(self, id, load_tag, **kwargs): # noqa: E501
|
|
664
778
|
"""bulk_file_results_delete # noqa: E501
|
|
665
779
|
|
|
666
|
-
Delete results from the bulk file load table of the dataset. If jobId is specified, then only the results for the loadTag plus that jobId are deleted. Otherwise, all results associated with the loadTag are deleted. # noqa: E501
|
|
780
|
+
Delete results from the bulk file load table of the dataset. If jobId is specified, then only the results for the loadTag plus that jobId are deleted. Otherwise, all results associated with the loadTag are deleted. This is asynchronous. Use the returned job id to check the retrieveJob endpoint for the job status or retrieveJobResult endpoint to get the final result. # noqa: E501
|
|
667
781
|
This method makes a synchronous HTTP request by default. To make an
|
|
668
782
|
asynchronous HTTP request, please pass async_req=True
|
|
669
783
|
>>> thread = api.bulk_file_results_delete(id, load_tag, async_req=True)
|
|
@@ -690,7 +804,7 @@ class DatasetsApi(object):
|
|
|
690
804
|
def bulk_file_results_delete_with_http_info(self, id, load_tag, **kwargs): # noqa: E501
|
|
691
805
|
"""bulk_file_results_delete # noqa: E501
|
|
692
806
|
|
|
693
|
-
Delete results from the bulk file load table of the dataset. If jobId is specified, then only the results for the loadTag plus that jobId are deleted. Otherwise, all results associated with the loadTag are deleted. # noqa: E501
|
|
807
|
+
Delete results from the bulk file load table of the dataset. If jobId is specified, then only the results for the loadTag plus that jobId are deleted. Otherwise, all results associated with the loadTag are deleted. This is asynchronous. Use the returned job id to check the retrieveJob endpoint for the job status or retrieveJobResult endpoint to get the final result. # noqa: E501
|
|
694
808
|
This method makes a synchronous HTTP request by default. To make an
|
|
695
809
|
asynchronous HTTP request, please pass async_req=True
|
|
696
810
|
>>> thread = api.bulk_file_results_delete_with_http_info(id, load_tag, async_req=True)
|
|
@@ -791,7 +905,7 @@ class DatasetsApi(object):
|
|
|
791
905
|
def close_transaction(self, id, transaction_id, **kwargs): # noqa: E501
|
|
792
906
|
"""close_transaction # noqa: E501
|
|
793
907
|
|
|
794
|
-
Close a given transaction # noqa: E501
|
|
908
|
+
Close a given transaction. This is asynchronous. Use the returned job id to check the retrieveJob endpoint for the job status or retrieveJobResult endpoint to get the final result. # noqa: E501
|
|
795
909
|
This method makes a synchronous HTTP request by default. To make an
|
|
796
910
|
asynchronous HTTP request, please pass async_req=True
|
|
797
911
|
>>> thread = api.close_transaction(id, transaction_id, async_req=True)
|
|
@@ -818,7 +932,7 @@ class DatasetsApi(object):
|
|
|
818
932
|
def close_transaction_with_http_info(self, id, transaction_id, **kwargs): # noqa: E501
|
|
819
933
|
"""close_transaction # noqa: E501
|
|
820
934
|
|
|
821
|
-
Close a given transaction # noqa: E501
|
|
935
|
+
Close a given transaction. This is asynchronous. Use the returned job id to check the retrieveJob endpoint for the job status or retrieveJobResult endpoint to get the final result. # noqa: E501
|
|
822
936
|
This method makes a synchronous HTTP request by default. To make an
|
|
823
937
|
asynchronous HTTP request, please pass async_req=True
|
|
824
938
|
>>> thread = api.close_transaction_with_http_info(id, transaction_id, async_req=True)
|
|
@@ -923,7 +1037,7 @@ class DatasetsApi(object):
|
|
|
923
1037
|
def create_dataset(self, **kwargs): # noqa: E501
|
|
924
1038
|
"""create_dataset # noqa: E501
|
|
925
1039
|
|
|
926
|
-
Create a new dataset asynchronously. The async result is DatasetSummaryModel. # noqa: E501
|
|
1040
|
+
Create a new dataset asynchronously. The async result is DatasetSummaryModel. Use the returned job id to check the retrieveJob endpoint for the job status or retrieveJobResult endpoint to get the final result. # noqa: E501
|
|
927
1041
|
This method makes a synchronous HTTP request by default. To make an
|
|
928
1042
|
asynchronous HTTP request, please pass async_req=True
|
|
929
1043
|
>>> thread = api.create_dataset(async_req=True)
|
|
@@ -948,7 +1062,7 @@ class DatasetsApi(object):
|
|
|
948
1062
|
def create_dataset_with_http_info(self, **kwargs): # noqa: E501
|
|
949
1063
|
"""create_dataset # noqa: E501
|
|
950
1064
|
|
|
951
|
-
Create a new dataset asynchronously. The async result is DatasetSummaryModel. # noqa: E501
|
|
1065
|
+
Create a new dataset asynchronously. The async result is DatasetSummaryModel. Use the returned job id to check the retrieveJob endpoint for the job status or retrieveJobResult endpoint to get the final result. # noqa: E501
|
|
952
1066
|
This method makes a synchronous HTTP request by default. To make an
|
|
953
1067
|
asynchronous HTTP request, please pass async_req=True
|
|
954
1068
|
>>> thread = api.create_dataset_with_http_info(async_req=True)
|
|
@@ -1037,7 +1151,7 @@ class DatasetsApi(object):
|
|
|
1037
1151
|
def delete_dataset(self, id, **kwargs): # noqa: E501
|
|
1038
1152
|
"""delete_dataset # noqa: E501
|
|
1039
1153
|
|
|
1040
|
-
Delete a dataset by id # noqa: E501
|
|
1154
|
+
Delete a dataset by id. This is asynchronous. Use the returned job id to check the retrieveJob endpoint for the job status or retrieveJobResult endpoint to get the final result. # noqa: E501
|
|
1041
1155
|
This method makes a synchronous HTTP request by default. To make an
|
|
1042
1156
|
asynchronous HTTP request, please pass async_req=True
|
|
1043
1157
|
>>> thread = api.delete_dataset(id, async_req=True)
|
|
@@ -1062,7 +1176,7 @@ class DatasetsApi(object):
|
|
|
1062
1176
|
def delete_dataset_with_http_info(self, id, **kwargs): # noqa: E501
|
|
1063
1177
|
"""delete_dataset # noqa: E501
|
|
1064
1178
|
|
|
1065
|
-
Delete a dataset by id # noqa: E501
|
|
1179
|
+
Delete a dataset by id. This is asynchronous. Use the returned job id to check the retrieveJob endpoint for the job status or retrieveJobResult endpoint to get the final result. # noqa: E501
|
|
1066
1180
|
This method makes a synchronous HTTP request by default. To make an
|
|
1067
1181
|
asynchronous HTTP request, please pass async_req=True
|
|
1068
1182
|
>>> thread = api.delete_dataset_with_http_info(id, async_req=True)
|
|
@@ -1283,7 +1397,7 @@ class DatasetsApi(object):
|
|
|
1283
1397
|
def delete_file(self, id, fileid, **kwargs): # noqa: E501
|
|
1284
1398
|
"""delete_file # noqa: E501
|
|
1285
1399
|
|
|
1286
|
-
Hard delete of a file by id. The file is deleted even if it is in use by a dataset. Subsequent lookups will give not found errors. # noqa: E501
|
|
1400
|
+
Hard delete of a file by id. The file is deleted even if it is in use by a dataset. Subsequent lookups will give not found errors. This is asynchronous. Use the returned job id to check the retrieveJob endpoint for the job status or retrieveJobResult endpoint to get the final result. # noqa: E501
|
|
1287
1401
|
This method makes a synchronous HTTP request by default. To make an
|
|
1288
1402
|
asynchronous HTTP request, please pass async_req=True
|
|
1289
1403
|
>>> thread = api.delete_file(id, fileid, async_req=True)
|
|
@@ -1309,7 +1423,7 @@ class DatasetsApi(object):
|
|
|
1309
1423
|
def delete_file_with_http_info(self, id, fileid, **kwargs): # noqa: E501
|
|
1310
1424
|
"""delete_file # noqa: E501
|
|
1311
1425
|
|
|
1312
|
-
Hard delete of a file by id. The file is deleted even if it is in use by a dataset. Subsequent lookups will give not found errors. # noqa: E501
|
|
1426
|
+
Hard delete of a file by id. The file is deleted even if it is in use by a dataset. Subsequent lookups will give not found errors. This is asynchronous. Use the returned job id to check the retrieveJob endpoint for the job status or retrieveJobResult endpoint to get the final result. # noqa: E501
|
|
1313
1427
|
This method makes a synchronous HTTP request by default. To make an
|
|
1314
1428
|
asynchronous HTTP request, please pass async_req=True
|
|
1315
1429
|
>>> thread = api.delete_file_with_http_info(id, fileid, async_req=True)
|
|
@@ -1786,7 +1900,7 @@ class DatasetsApi(object):
|
|
|
1786
1900
|
def get_load_history_for_load_tag(self, id, load_tag, **kwargs): # noqa: E501
|
|
1787
1901
|
"""get_load_history_for_load_tag # noqa: E501
|
|
1788
1902
|
|
|
1789
|
-
Retrieve the results of a bulk file load. The results of each bulk load are stored in the dataset. They can be queried directly or retrieved with this paginated interface. # noqa: E501
|
|
1903
|
+
Retrieve the results of a bulk file load. The results of each bulk load are stored in the dataset. They can be queried directly or retrieved with this paginated interface. This is asynchronous. Use the returned job id to check the retrieveJob endpoint for the job status or retrieveJobResult endpoint to get the final result. # noqa: E501
|
|
1790
1904
|
This method makes a synchronous HTTP request by default. To make an
|
|
1791
1905
|
asynchronous HTTP request, please pass async_req=True
|
|
1792
1906
|
>>> thread = api.get_load_history_for_load_tag(id, load_tag, async_req=True)
|
|
@@ -1814,7 +1928,7 @@ class DatasetsApi(object):
|
|
|
1814
1928
|
def get_load_history_for_load_tag_with_http_info(self, id, load_tag, **kwargs): # noqa: E501
|
|
1815
1929
|
"""get_load_history_for_load_tag # noqa: E501
|
|
1816
1930
|
|
|
1817
|
-
Retrieve the results of a bulk file load. The results of each bulk load are stored in the dataset. They can be queried directly or retrieved with this paginated interface. # noqa: E501
|
|
1931
|
+
Retrieve the results of a bulk file load. The results of each bulk load are stored in the dataset. They can be queried directly or retrieved with this paginated interface. This is asynchronous. Use the returned job id to check the retrieveJob endpoint for the job status or retrieveJobResult endpoint to get the final result. # noqa: E501
|
|
1818
1932
|
This method makes a synchronous HTTP request by default. To make an
|
|
1819
1933
|
asynchronous HTTP request, please pass async_req=True
|
|
1820
1934
|
>>> thread = api.get_load_history_for_load_tag_with_http_info(id, load_tag, async_req=True)
|
|
@@ -1919,7 +2033,7 @@ class DatasetsApi(object):
|
|
|
1919
2033
|
def ingest_dataset(self, id, **kwargs): # noqa: E501
|
|
1920
2034
|
"""ingest_dataset # noqa: E501
|
|
1921
2035
|
|
|
1922
|
-
Ingest data into a dataset table # noqa: E501
|
|
2036
|
+
Ingest data into a dataset table. This is asynchronous. Use the returned job id to check the retrieveJob endpoint for the job status or retrieveJobResult endpoint to get the final result. # noqa: E501
|
|
1923
2037
|
This method makes a synchronous HTTP request by default. To make an
|
|
1924
2038
|
asynchronous HTTP request, please pass async_req=True
|
|
1925
2039
|
>>> thread = api.ingest_dataset(id, async_req=True)
|
|
@@ -1945,7 +2059,7 @@ class DatasetsApi(object):
|
|
|
1945
2059
|
def ingest_dataset_with_http_info(self, id, **kwargs): # noqa: E501
|
|
1946
2060
|
"""ingest_dataset # noqa: E501
|
|
1947
2061
|
|
|
1948
|
-
Ingest data into a dataset table # noqa: E501
|
|
2062
|
+
Ingest data into a dataset table. This is asynchronous. Use the returned job id to check the retrieveJob endpoint for the job status or retrieveJobResult endpoint to get the final result. # noqa: E501
|
|
1949
2063
|
This method makes a synchronous HTTP request by default. To make an
|
|
1950
2064
|
asynchronous HTTP request, please pass async_req=True
|
|
1951
2065
|
>>> thread = api.ingest_dataset_with_http_info(id, async_req=True)
|
|
@@ -2042,7 +2156,7 @@ class DatasetsApi(object):
|
|
|
2042
2156
|
def ingest_file(self, id, **kwargs): # noqa: E501
|
|
2043
2157
|
"""ingest_file # noqa: E501
|
|
2044
2158
|
|
|
2045
|
-
Ingest one file into the dataset file system; async returns a FileModel # noqa: E501
|
|
2159
|
+
Ingest one file into the dataset file system; async returns a FileModel. This is asynchronous. Use the returned job id to check the retrieveJob endpoint for the job status or retrieveJobResult endpoint to get the final result. # noqa: E501
|
|
2046
2160
|
This method makes a synchronous HTTP request by default. To make an
|
|
2047
2161
|
asynchronous HTTP request, please pass async_req=True
|
|
2048
2162
|
>>> thread = api.ingest_file(id, async_req=True)
|
|
@@ -2068,7 +2182,7 @@ class DatasetsApi(object):
|
|
|
2068
2182
|
def ingest_file_with_http_info(self, id, **kwargs): # noqa: E501
|
|
2069
2183
|
"""ingest_file # noqa: E501
|
|
2070
2184
|
|
|
2071
|
-
Ingest one file into the dataset file system; async returns a FileModel # noqa: E501
|
|
2185
|
+
Ingest one file into the dataset file system; async returns a FileModel. This is asynchronous. Use the returned job id to check the retrieveJob endpoint for the job status or retrieveJobResult endpoint to get the final result. # noqa: E501
|
|
2072
2186
|
This method makes a synchronous HTTP request by default. To make an
|
|
2073
2187
|
asynchronous HTTP request, please pass async_req=True
|
|
2074
2188
|
>>> thread = api.ingest_file_with_http_info(id, async_req=True)
|
|
@@ -2950,7 +3064,7 @@ class DatasetsApi(object):
|
|
|
2950
3064
|
def open_transaction(self, id, transaction, **kwargs): # noqa: E501
|
|
2951
3065
|
"""open_transaction # noqa: E501
|
|
2952
3066
|
|
|
2953
|
-
Create a transaction to be used for ingesting if you are chaining ingests together # noqa: E501
|
|
3067
|
+
Create a transaction to be used for ingesting if you are chaining ingests together. This is asynchronous. Use the returned job id to check the retrieveJob endpoint for the job status or retrieveJobResult endpoint to get the final result. # noqa: E501
|
|
2954
3068
|
This method makes a synchronous HTTP request by default. To make an
|
|
2955
3069
|
asynchronous HTTP request, please pass async_req=True
|
|
2956
3070
|
>>> thread = api.open_transaction(id, transaction, async_req=True)
|
|
@@ -2976,7 +3090,7 @@ class DatasetsApi(object):
|
|
|
2976
3090
|
def open_transaction_with_http_info(self, id, transaction, **kwargs): # noqa: E501
|
|
2977
3091
|
"""open_transaction # noqa: E501
|
|
2978
3092
|
|
|
2979
|
-
Create a transaction to be used for ingesting if you are chaining ingests together # noqa: E501
|
|
3093
|
+
Create a transaction to be used for ingesting if you are chaining ingests together. This is asynchronous. Use the returned job id to check the retrieveJob endpoint for the job status or retrieveJobResult endpoint to get the final result. # noqa: E501
|
|
2980
3094
|
This method makes a synchronous HTTP request by default. To make an
|
|
2981
3095
|
asynchronous HTTP request, please pass async_req=True
|
|
2982
3096
|
>>> thread = api.open_transaction_with_http_info(id, transaction, async_req=True)
|
|
@@ -3473,7 +3587,7 @@ class DatasetsApi(object):
|
|
|
3473
3587
|
def remove_dataset_asset_specifications(self, id, assetid, **kwargs): # noqa: E501
|
|
3474
3588
|
"""remove_dataset_asset_specifications # noqa: E501
|
|
3475
3589
|
|
|
3476
|
-
Remove an asset definition from a dataset # noqa: E501
|
|
3590
|
+
Remove an asset definition from a dataset. This is asynchronous. Use the returned job id to check the retrieveJob endpoint for the job status or retrieveJobResult endpoint to get the final result. # noqa: E501
|
|
3477
3591
|
This method makes a synchronous HTTP request by default. To make an
|
|
3478
3592
|
asynchronous HTTP request, please pass async_req=True
|
|
3479
3593
|
>>> thread = api.remove_dataset_asset_specifications(id, assetid, async_req=True)
|
|
@@ -3499,7 +3613,7 @@ class DatasetsApi(object):
|
|
|
3499
3613
|
def remove_dataset_asset_specifications_with_http_info(self, id, assetid, **kwargs): # noqa: E501
|
|
3500
3614
|
"""remove_dataset_asset_specifications # noqa: E501
|
|
3501
3615
|
|
|
3502
|
-
Remove an asset definition from a dataset # noqa: E501
|
|
3616
|
+
Remove an asset definition from a dataset. This is asynchronous. Use the returned job id to check the retrieveJob endpoint for the job status or retrieveJobResult endpoint to get the final result. # noqa: E501
|
|
3503
3617
|
This method makes a synchronous HTTP request by default. To make an
|
|
3504
3618
|
asynchronous HTTP request, please pass async_req=True
|
|
3505
3619
|
>>> thread = api.remove_dataset_asset_specifications_with_http_info(id, assetid, async_req=True)
|
|
@@ -4178,6 +4292,133 @@ class DatasetsApi(object):
|
|
|
4178
4292
|
_request_timeout=local_var_params.get('_request_timeout'),
|
|
4179
4293
|
collection_formats=collection_formats)
|
|
4180
4294
|
|
|
4295
|
+
def set_inherit_steward(self, id, body, **kwargs): # noqa: E501
|
|
4296
|
+
"""set_inherit_steward # noqa: E501
|
|
4297
|
+
|
|
4298
|
+
ADMIN ONLY - Set flag that allows the dataset custodians to inherit the steward role on all snapshots made from this dataset. This is asynchronous. Use the returned job id to check the retrieveJob endpoint for the job status or retrieveJobResult endpoint to get the final result. # noqa: E501
|
|
4299
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
4300
|
+
asynchronous HTTP request, please pass async_req=True
|
|
4301
|
+
>>> thread = api.set_inherit_steward(id, body, async_req=True)
|
|
4302
|
+
>>> result = thread.get()
|
|
4303
|
+
|
|
4304
|
+
:param async_req bool: execute request asynchronously
|
|
4305
|
+
:param str id: A UUID to used to identify an object in the repository (required)
|
|
4306
|
+
:param bool body: A boolean value indicating whether the dataset custodians should inherit the steward role on all snapshots made from this dataset. (required)
|
|
4307
|
+
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
|
4308
|
+
be returned without reading/decoding response
|
|
4309
|
+
data. Default is True.
|
|
4310
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
4311
|
+
number provided, it will be total request
|
|
4312
|
+
timeout. It can also be a pair (tuple) of
|
|
4313
|
+
(connection, read) timeouts.
|
|
4314
|
+
:return: JobModel
|
|
4315
|
+
If the method is called asynchronously,
|
|
4316
|
+
returns the request thread.
|
|
4317
|
+
"""
|
|
4318
|
+
kwargs['_return_http_data_only'] = True
|
|
4319
|
+
return self.set_inherit_steward_with_http_info(id, body, **kwargs) # noqa: E501
|
|
4320
|
+
|
|
4321
|
+
def set_inherit_steward_with_http_info(self, id, body, **kwargs): # noqa: E501
|
|
4322
|
+
"""set_inherit_steward # noqa: E501
|
|
4323
|
+
|
|
4324
|
+
ADMIN ONLY - Set flag that allows the dataset custodians to inherit the steward role on all snapshots made from this dataset. This is asynchronous. Use the returned job id to check the retrieveJob endpoint for the job status or retrieveJobResult endpoint to get the final result. # noqa: E501
|
|
4325
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
4326
|
+
asynchronous HTTP request, please pass async_req=True
|
|
4327
|
+
>>> thread = api.set_inherit_steward_with_http_info(id, body, async_req=True)
|
|
4328
|
+
>>> result = thread.get()
|
|
4329
|
+
|
|
4330
|
+
:param async_req bool: execute request asynchronously
|
|
4331
|
+
:param str id: A UUID to used to identify an object in the repository (required)
|
|
4332
|
+
:param bool body: A boolean value indicating whether the dataset custodians should inherit the steward role on all snapshots made from this dataset. (required)
|
|
4333
|
+
:param _return_http_data_only: response data without head status code
|
|
4334
|
+
and headers
|
|
4335
|
+
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
|
4336
|
+
be returned without reading/decoding response
|
|
4337
|
+
data. Default is True.
|
|
4338
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
4339
|
+
number provided, it will be total request
|
|
4340
|
+
timeout. It can also be a pair (tuple) of
|
|
4341
|
+
(connection, read) timeouts.
|
|
4342
|
+
:return: tuple(JobModel, status_code(int), headers(HTTPHeaderDict))
|
|
4343
|
+
If the method is called asynchronously,
|
|
4344
|
+
returns the request thread.
|
|
4345
|
+
"""
|
|
4346
|
+
|
|
4347
|
+
local_var_params = locals()
|
|
4348
|
+
|
|
4349
|
+
all_params = [
|
|
4350
|
+
'id',
|
|
4351
|
+
'body'
|
|
4352
|
+
]
|
|
4353
|
+
all_params.extend(
|
|
4354
|
+
[
|
|
4355
|
+
'async_req',
|
|
4356
|
+
'_return_http_data_only',
|
|
4357
|
+
'_preload_content',
|
|
4358
|
+
'_request_timeout'
|
|
4359
|
+
]
|
|
4360
|
+
)
|
|
4361
|
+
|
|
4362
|
+
for key, val in six.iteritems(local_var_params['kwargs']):
|
|
4363
|
+
if key not in all_params:
|
|
4364
|
+
raise ApiTypeError(
|
|
4365
|
+
"Got an unexpected keyword argument '%s'"
|
|
4366
|
+
" to method set_inherit_steward" % key
|
|
4367
|
+
)
|
|
4368
|
+
local_var_params[key] = val
|
|
4369
|
+
del local_var_params['kwargs']
|
|
4370
|
+
# verify the required parameter 'id' is set
|
|
4371
|
+
if self.api_client.client_side_validation and ('id' not in local_var_params or # noqa: E501
|
|
4372
|
+
local_var_params['id'] is None): # noqa: E501
|
|
4373
|
+
raise ApiValueError("Missing the required parameter `id` when calling `set_inherit_steward`") # noqa: E501
|
|
4374
|
+
# verify the required parameter 'body' is set
|
|
4375
|
+
if self.api_client.client_side_validation and ('body' not in local_var_params or # noqa: E501
|
|
4376
|
+
local_var_params['body'] is None): # noqa: E501
|
|
4377
|
+
raise ApiValueError("Missing the required parameter `body` when calling `set_inherit_steward`") # noqa: E501
|
|
4378
|
+
|
|
4379
|
+
collection_formats = {}
|
|
4380
|
+
|
|
4381
|
+
path_params = {}
|
|
4382
|
+
if 'id' in local_var_params:
|
|
4383
|
+
path_params['id'] = local_var_params['id'] # noqa: E501
|
|
4384
|
+
|
|
4385
|
+
query_params = []
|
|
4386
|
+
|
|
4387
|
+
header_params = {}
|
|
4388
|
+
|
|
4389
|
+
form_params = []
|
|
4390
|
+
local_var_files = {}
|
|
4391
|
+
|
|
4392
|
+
body_params = None
|
|
4393
|
+
if 'body' in local_var_params:
|
|
4394
|
+
body_params = local_var_params['body']
|
|
4395
|
+
# HTTP header `Accept`
|
|
4396
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
4397
|
+
['application/json']) # noqa: E501
|
|
4398
|
+
|
|
4399
|
+
# HTTP header `Content-Type`
|
|
4400
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
4401
|
+
['application/json']) # noqa: E501
|
|
4402
|
+
|
|
4403
|
+
# Authentication setting
|
|
4404
|
+
auth_settings = ['oidc'] # noqa: E501
|
|
4405
|
+
|
|
4406
|
+
return self.api_client.call_api(
|
|
4407
|
+
'/api/repository/v1/datasets/{id}/inheritSteward', 'PUT',
|
|
4408
|
+
path_params,
|
|
4409
|
+
query_params,
|
|
4410
|
+
header_params,
|
|
4411
|
+
body=body_params,
|
|
4412
|
+
post_params=form_params,
|
|
4413
|
+
files=local_var_files,
|
|
4414
|
+
response_type='JobModel', # noqa: E501
|
|
4415
|
+
auth_settings=auth_settings,
|
|
4416
|
+
async_req=local_var_params.get('async_req'),
|
|
4417
|
+
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
|
4418
|
+
_preload_content=local_var_params.get('_preload_content', True),
|
|
4419
|
+
_request_timeout=local_var_params.get('_request_timeout'),
|
|
4420
|
+
collection_formats=collection_formats)
|
|
4421
|
+
|
|
4181
4422
|
def unlock_dataset(self, id, **kwargs): # noqa: E501
|
|
4182
4423
|
"""unlock_dataset # noqa: E501
|
|
4183
4424
|
|
|
@@ -4427,7 +4668,7 @@ class DatasetsApi(object):
|
|
|
4427
4668
|
def update_schema(self, id, dataset_schema_update_model, **kwargs): # noqa: E501
|
|
4428
4669
|
"""update_schema # noqa: E501
|
|
4429
4670
|
|
|
4430
|
-
Modify a dataset's schema with additive changes # noqa: E501
|
|
4671
|
+
Modify a dataset's schema with additive changes. This is asynchronous. Use the returned job id to check the retrieveJob endpoint for the job status or retrieveJobResult endpoint to get the final result. # noqa: E501
|
|
4431
4672
|
This method makes a synchronous HTTP request by default. To make an
|
|
4432
4673
|
asynchronous HTTP request, please pass async_req=True
|
|
4433
4674
|
>>> thread = api.update_schema(id, dataset_schema_update_model, async_req=True)
|
|
@@ -4453,7 +4694,7 @@ class DatasetsApi(object):
|
|
|
4453
4694
|
def update_schema_with_http_info(self, id, dataset_schema_update_model, **kwargs): # noqa: E501
|
|
4454
4695
|
"""update_schema # noqa: E501
|
|
4455
4696
|
|
|
4456
|
-
Modify a dataset's schema with additive changes # noqa: E501
|
|
4697
|
+
Modify a dataset's schema with additive changes. This is asynchronous. Use the returned job id to check the retrieveJob endpoint for the job status or retrieveJobResult endpoint to get the final result. # noqa: E501
|
|
4457
4698
|
This method makes a synchronous HTTP request by default. To make an
|
|
4458
4699
|
asynchronous HTTP request, please pass async_req=True
|
|
4459
4700
|
>>> thread = api.update_schema_with_http_info(id, dataset_schema_update_model, async_req=True)
|