data-repo-client 2.292.0__py3-none-any.whl → 2.294.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.

@@ -14,7 +14,7 @@
14
14
 
15
15
  from __future__ import absolute_import
16
16
 
17
- __version__ = "2.292.0"
17
+ __version__ = "2.294.0"
18
18
 
19
19
  # import apis into sdk package
20
20
  from data_repo_client.api.data_repository_service_api import DataRepositoryServiceApi
@@ -291,6 +291,120 @@ 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 # 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 # 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
 
@@ -546,6 +546,120 @@ class RepositoryApi(object):
546
546
  _request_timeout=local_var_params.get('_request_timeout'),
547
547
  collection_formats=collection_formats)
548
548
 
549
+ def adjust_members_inherit_steward(self, id, **kwargs): # noqa: E501
550
+ """adjust_members_inherit_steward # noqa: E501
551
+
552
+ ADMIN ONLY - Adjust members on datasets based on inherit steward flag # noqa: E501
553
+ This method makes a synchronous HTTP request by default. To make an
554
+ asynchronous HTTP request, please pass async_req=True
555
+ >>> thread = api.adjust_members_inherit_steward(id, async_req=True)
556
+ >>> result = thread.get()
557
+
558
+ :param async_req bool: execute request asynchronously
559
+ :param str id: A UUID to used to identify an object in the repository (required)
560
+ :param _preload_content: if False, the urllib3.HTTPResponse object will
561
+ be returned without reading/decoding response
562
+ data. Default is True.
563
+ :param _request_timeout: timeout setting for this request. If one
564
+ number provided, it will be total request
565
+ timeout. It can also be a pair (tuple) of
566
+ (connection, read) timeouts.
567
+ :return: JobModel
568
+ If the method is called asynchronously,
569
+ returns the request thread.
570
+ """
571
+ kwargs['_return_http_data_only'] = True
572
+ return self.adjust_members_inherit_steward_with_http_info(id, **kwargs) # noqa: E501
573
+
574
+ def adjust_members_inherit_steward_with_http_info(self, id, **kwargs): # noqa: E501
575
+ """adjust_members_inherit_steward # noqa: E501
576
+
577
+ ADMIN ONLY - Adjust members on datasets based on inherit steward flag # noqa: E501
578
+ This method makes a synchronous HTTP request by default. To make an
579
+ asynchronous HTTP request, please pass async_req=True
580
+ >>> thread = api.adjust_members_inherit_steward_with_http_info(id, async_req=True)
581
+ >>> result = thread.get()
582
+
583
+ :param async_req bool: execute request asynchronously
584
+ :param str id: A UUID to used to identify an object in the repository (required)
585
+ :param _return_http_data_only: response data without head status code
586
+ and headers
587
+ :param _preload_content: if False, the urllib3.HTTPResponse object will
588
+ be returned without reading/decoding response
589
+ data. Default is True.
590
+ :param _request_timeout: timeout setting for this request. If one
591
+ number provided, it will be total request
592
+ timeout. It can also be a pair (tuple) of
593
+ (connection, read) timeouts.
594
+ :return: tuple(JobModel, status_code(int), headers(HTTPHeaderDict))
595
+ If the method is called asynchronously,
596
+ returns the request thread.
597
+ """
598
+
599
+ local_var_params = locals()
600
+
601
+ all_params = [
602
+ 'id'
603
+ ]
604
+ all_params.extend(
605
+ [
606
+ 'async_req',
607
+ '_return_http_data_only',
608
+ '_preload_content',
609
+ '_request_timeout'
610
+ ]
611
+ )
612
+
613
+ for key, val in six.iteritems(local_var_params['kwargs']):
614
+ if key not in all_params:
615
+ raise ApiTypeError(
616
+ "Got an unexpected keyword argument '%s'"
617
+ " to method adjust_members_inherit_steward" % key
618
+ )
619
+ local_var_params[key] = val
620
+ del local_var_params['kwargs']
621
+ # verify the required parameter 'id' is set
622
+ if self.api_client.client_side_validation and ('id' not in local_var_params or # noqa: E501
623
+ local_var_params['id'] is None): # noqa: E501
624
+ raise ApiValueError("Missing the required parameter `id` when calling `adjust_members_inherit_steward`") # noqa: E501
625
+
626
+ collection_formats = {}
627
+
628
+ path_params = {}
629
+ if 'id' in local_var_params:
630
+ path_params['id'] = local_var_params['id'] # noqa: E501
631
+
632
+ query_params = []
633
+
634
+ header_params = {}
635
+
636
+ form_params = []
637
+ local_var_files = {}
638
+
639
+ body_params = None
640
+ # HTTP header `Accept`
641
+ header_params['Accept'] = self.api_client.select_header_accept(
642
+ ['application/json']) # noqa: E501
643
+
644
+ # Authentication setting
645
+ auth_settings = ['oidc'] # noqa: E501
646
+
647
+ return self.api_client.call_api(
648
+ '/api/repository/v1/datasets/{id}/adjustMembersInheritSteward', 'PUT',
649
+ path_params,
650
+ query_params,
651
+ header_params,
652
+ body=body_params,
653
+ post_params=form_params,
654
+ files=local_var_files,
655
+ response_type='JobModel', # noqa: E501
656
+ auth_settings=auth_settings,
657
+ async_req=local_var_params.get('async_req'),
658
+ _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
659
+ _preload_content=local_var_params.get('_preload_content', True),
660
+ _request_timeout=local_var_params.get('_request_timeout'),
661
+ collection_formats=collection_formats)
662
+
549
663
  def apply_dataset_data_deletion(self, id, **kwargs): # noqa: E501
550
664
  """apply_dataset_data_deletion # noqa: E501
551
665
 
@@ -78,7 +78,7 @@ class ApiClient(object):
78
78
  self.default_headers[header_name] = header_value
79
79
  self.cookie = cookie
80
80
  # Set default User-Agent.
81
- self.user_agent = 'OpenAPI-Generator/2.292.0/python'
81
+ self.user_agent = 'OpenAPI-Generator/2.294.0/python'
82
82
  self.client_side_validation = configuration.client_side_validation
83
83
 
84
84
  def __enter__(self):
@@ -336,7 +336,7 @@ class Configuration(object):
336
336
  "OS: {env}\n"\
337
337
  "Python Version: {pyversion}\n"\
338
338
  "Version of the API: 0.1.0\n"\
339
- "SDK Package Version: 2.292.0".\
339
+ "SDK Package Version: 2.294.0".\
340
340
  format(env=sys.platform, pyversion=sys.version)
341
341
 
342
342
  def get_host_settings(self):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: data-repo-client
3
- Version: 2.292.0
3
+ Version: 2.294.0
4
4
  Summary: Data Repository API
5
5
  Home-page:
6
6
  Author: OpenAPI Generator community
@@ -1,19 +1,19 @@
1
- data_repo_client/__init__.py,sha256=oQupQfhzPkXJFX05f3qDtdKbEnafUHHsS6nbvMfmaOo,18151
2
- data_repo_client/api_client.py,sha256=vSLhG3sa6BvzvZ6Z6nyVzk1_r1psFv-4ac_FfeIm-X8,27141
3
- data_repo_client/configuration.py,sha256=kgZM7ObEkk8Bue9jUpTGP93j6Klk_THZo42NW1k1pes,13682
1
+ data_repo_client/__init__.py,sha256=_tu7tNnoanevhNp-EUfgb9pDonbROXAmigEADSfndEo,18151
2
+ data_repo_client/api_client.py,sha256=bryqY5zYwnJrd7QX0ZZrPZNCC6JrlZtfn61TMbL9obo,27141
3
+ data_repo_client/configuration.py,sha256=ePhpnKwbY0FQAkjEmTqbY0Uv5mmJenrRneuunmQrV80,13682
4
4
  data_repo_client/exceptions.py,sha256=Gx__KU4uPo9oWgPHmHS5Ond_mhm0PbJUcPXuZCYTECM,4674
5
5
  data_repo_client/rest.py,sha256=NMuGDkxTl2dpbrQblMjDIACvVEcGeiToUabzcqzonlc,13208
6
6
  data_repo_client/api/__init__.py,sha256=tHijhgS2OVIHakvFFMM0sQZj15jIUuaXNGVG9b40sj4,1061
7
7
  data_repo_client/api/admin_api.py,sha256=0ii20A56Iw7acgovjdTA3Q4iG_MdiM5NEl__GSn1WEE,16847
8
8
  data_repo_client/api/configs_api.py,sha256=U1bXazrLJY46j9OE_fBqYbx6ceQRbWftJ2ha5F7IHOU,25124
9
9
  data_repo_client/api/data_repository_service_api.py,sha256=fClyd422btjwvFKwAmFV8JVpZmh4bUX3BURgPw_AK9k,41290
10
- data_repo_client/api/datasets_api.py,sha256=8DSDJ6aQgrret6O4R1DI8reZxMTfKuU7Bwh2I3LgvuI,225775
10
+ data_repo_client/api/datasets_api.py,sha256=y5Dqaj1N0a-AQnEA3fZQYYqwr8gKwmFPEikC_4nQJA4,230997
11
11
  data_repo_client/api/duos_api.py,sha256=vEznaSms2Mpuxx7by-zhFJT4yrPbyd9v2iZ2otfvbgI,22542
12
12
  data_repo_client/api/jobs_api.py,sha256=Ngx-pytG_1iKyKW5B-_Lo1vuPx0qJH9QqYkuPidB8nk,17614
13
13
  data_repo_client/api/journal_api.py,sha256=30q0oVicCuIIUDFzm32JvDpQcmKR4InUBmSlybkK4Q4,8829
14
14
  data_repo_client/api/profiles_api.py,sha256=O3M2Nm25kFVv1mJJR8MwNOhOoaI3kODocfWACz8HzeY,52484
15
15
  data_repo_client/api/register_api.py,sha256=Q3mDFgxaUxbiuStLqW2yapH45-PZTvPVbOeG3DBaTVI,5999
16
- data_repo_client/api/repository_api.py,sha256=0wBTT6ThMZ55NIvaccymh5lZaFmviQWxN6wuHZAMHAg,477501
16
+ data_repo_client/api/repository_api.py,sha256=QronaEYF4O2RMU-n9avqA2fWP6eiEnKmMUqGbLLMfZo,482723
17
17
  data_repo_client/api/resources_api.py,sha256=ExmqB8WLlZbHps2sFkAQlGdnMGGjWw4NkBQ0kMyBZfI,52485
18
18
  data_repo_client/api/search_api.py,sha256=AvbQ45-NKxirgMmsyx4xN-gkN8eHSyjDmrrP23cNBCo,31737
19
19
  data_repo_client/api/snapshot_access_request_api.py,sha256=ngqUZ7LGyF7QsrTLcLo9BcIuwrSEoEsLPEpv-bLYQWg,55636
@@ -197,7 +197,7 @@ data_repo_client/models/upgrade_model.py,sha256=stze92OGQ-gxke0-bpj9QY9me2ICSzpq
197
197
  data_repo_client/models/upgrade_response_model.py,sha256=yXIdF7WvxABO6u5iCAC4_5exfcbOw9TkXjRMsESuTuI,6106
198
198
  data_repo_client/models/user_status_info.py,sha256=jHBZ8rhO6ZrE_rmRAQMTHrwNvhfaMy8kzYjFNSMFeQ0,6457
199
199
  data_repo_client/models/workspace_policy_model.py,sha256=pgLpcUQUcN38IfdGBesOi9cfcF94no2xg6pgzcbTCLE,7966
200
- data_repo_client-2.292.0.dist-info/METADATA,sha256=X5VMdH-ePX1tCwiEMsuXfrmc2NOSbNAzQwbyXQcDFZo,1420
201
- data_repo_client-2.292.0.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
202
- data_repo_client-2.292.0.dist-info/top_level.txt,sha256=rxRfDoBxOaUhmfMLoiE926w1prfERSr2Qg70w69QsgQ,17
203
- data_repo_client-2.292.0.dist-info/RECORD,,
200
+ data_repo_client-2.294.0.dist-info/METADATA,sha256=uj61Qvxy49ru-RtVVYGrVVGyqSPEmSqIwq56IILaU8c,1420
201
+ data_repo_client-2.294.0.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
202
+ data_repo_client-2.294.0.dist-info/top_level.txt,sha256=rxRfDoBxOaUhmfMLoiE926w1prfERSr2Qg70w69QsgQ,17
203
+ data_repo_client-2.294.0.dist-info/RECORD,,