data-repo-client 2.233.0__py3-none-any.whl → 2.235.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.233.0"
17
+ __version__ = "2.235.0"
18
18
 
19
19
  # import apis into sdk package
20
20
  from data_repo_client.api.data_repository_service_api import DataRepositoryServiceApi
@@ -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.233.0/python'
81
+ self.user_agent = 'OpenAPI-Generator/2.235.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.233.0".\
339
+ "SDK Package Version: 2.235.0".\
340
340
  format(env=sys.platform, pyversion=sys.version)
341
341
 
342
342
  def get_host_settings(self):
@@ -51,7 +51,8 @@ class DatasetModel(object):
51
51
  'ingest_service_account': 'str',
52
52
  'predictable_file_ids': 'bool',
53
53
  'tags': 'list[str]',
54
- 'resource_locks': 'ResourceLocks'
54
+ 'resource_locks': 'ResourceLocks',
55
+ 'inherit_steward': 'bool'
55
56
  }
56
57
 
57
58
  attribute_map = {
@@ -73,10 +74,11 @@ class DatasetModel(object):
73
74
  'ingest_service_account': 'ingestServiceAccount',
74
75
  'predictable_file_ids': 'predictableFileIds',
75
76
  'tags': 'tags',
76
- 'resource_locks': 'resourceLocks'
77
+ 'resource_locks': 'resourceLocks',
78
+ 'inherit_steward': 'inheritSteward'
77
79
  }
78
80
 
79
- def __init__(self, id=None, name=None, description=None, default_profile_id=None, data_project=None, default_snapshot_id=None, schema=None, created_date=None, storage=None, secure_monitoring_enabled=False, phs_id=None, access_information=None, cloud_platform=None, self_hosted=False, properties=None, ingest_service_account=None, predictable_file_ids=False, tags=None, resource_locks=None, local_vars_configuration=None): # noqa: E501
81
+ def __init__(self, id=None, name=None, description=None, default_profile_id=None, data_project=None, default_snapshot_id=None, schema=None, created_date=None, storage=None, secure_monitoring_enabled=False, phs_id=None, access_information=None, cloud_platform=None, self_hosted=False, properties=None, ingest_service_account=None, predictable_file_ids=False, tags=None, resource_locks=None, inherit_steward=False, local_vars_configuration=None): # noqa: E501
80
82
  """DatasetModel - a model defined in OpenAPI""" # noqa: E501
81
83
  if local_vars_configuration is None:
82
84
  local_vars_configuration = Configuration()
@@ -101,6 +103,7 @@ class DatasetModel(object):
101
103
  self._predictable_file_ids = None
102
104
  self._tags = None
103
105
  self._resource_locks = None
106
+ self._inherit_steward = None
104
107
  self.discriminator = None
105
108
 
106
109
  if id is not None:
@@ -141,6 +144,8 @@ class DatasetModel(object):
141
144
  self.tags = tags
142
145
  if resource_locks is not None:
143
146
  self.resource_locks = resource_locks
147
+ if inherit_steward is not None:
148
+ self.inherit_steward = inherit_steward
144
149
 
145
150
  @property
146
151
  def id(self):
@@ -574,6 +579,29 @@ class DatasetModel(object):
574
579
 
575
580
  self._resource_locks = resource_locks
576
581
 
582
+ @property
583
+ def inherit_steward(self):
584
+ """Gets the inherit_steward of this DatasetModel. # noqa: E501
585
+
586
+ If true, all snapshots created from this dataset will grant dataset custodians the steward (owner) role on the snapshots. # noqa: E501
587
+
588
+ :return: The inherit_steward of this DatasetModel. # noqa: E501
589
+ :rtype: bool
590
+ """
591
+ return self._inherit_steward
592
+
593
+ @inherit_steward.setter
594
+ def inherit_steward(self, inherit_steward):
595
+ """Sets the inherit_steward of this DatasetModel.
596
+
597
+ If true, all snapshots created from this dataset will grant dataset custodians the steward (owner) role on the snapshots. # noqa: E501
598
+
599
+ :param inherit_steward: The inherit_steward of this DatasetModel. # noqa: E501
600
+ :type: bool
601
+ """
602
+
603
+ self._inherit_steward = inherit_steward
604
+
577
605
  def to_dict(self):
578
606
  """Returns the model properties as a dict"""
579
607
  result = {}
@@ -46,6 +46,7 @@ class DatasetRequestModel(object):
46
46
  'dedicated_ingest_service_account': 'bool',
47
47
  'experimental_predictable_file_ids': 'bool',
48
48
  'policies': 'DatasetRequestModelPolicies',
49
+ 'inherit_steward': 'bool',
49
50
  'tags': 'list[str]'
50
51
  }
51
52
 
@@ -63,10 +64,11 @@ class DatasetRequestModel(object):
63
64
  'dedicated_ingest_service_account': 'dedicatedIngestServiceAccount',
64
65
  'experimental_predictable_file_ids': 'experimentalPredictableFileIds',
65
66
  'policies': 'policies',
67
+ 'inherit_steward': 'inheritSteward',
66
68
  'tags': 'tags'
67
69
  }
68
70
 
69
- def __init__(self, name=None, description=None, default_profile_id=None, schema=None, region=None, cloud_platform=None, enable_secure_monitoring=False, phs_id=None, experimental_self_hosted=False, properties=None, dedicated_ingest_service_account=True, experimental_predictable_file_ids=False, policies=None, tags=None, local_vars_configuration=None): # noqa: E501
71
+ def __init__(self, name=None, description=None, default_profile_id=None, schema=None, region=None, cloud_platform=None, enable_secure_monitoring=False, phs_id=None, experimental_self_hosted=False, properties=None, dedicated_ingest_service_account=True, experimental_predictable_file_ids=False, policies=None, inherit_steward=False, tags=None, local_vars_configuration=None): # noqa: E501
70
72
  """DatasetRequestModel - a model defined in OpenAPI""" # noqa: E501
71
73
  if local_vars_configuration is None:
72
74
  local_vars_configuration = Configuration()
@@ -85,6 +87,7 @@ class DatasetRequestModel(object):
85
87
  self._dedicated_ingest_service_account = None
86
88
  self._experimental_predictable_file_ids = None
87
89
  self._policies = None
90
+ self._inherit_steward = None
88
91
  self._tags = None
89
92
  self.discriminator = None
90
93
 
@@ -111,6 +114,8 @@ class DatasetRequestModel(object):
111
114
  self.experimental_predictable_file_ids = experimental_predictable_file_ids
112
115
  if policies is not None:
113
116
  self.policies = policies
117
+ if inherit_steward is not None:
118
+ self.inherit_steward = inherit_steward
114
119
  if tags is not None:
115
120
  self.tags = tags
116
121
 
@@ -418,6 +423,29 @@ class DatasetRequestModel(object):
418
423
 
419
424
  self._policies = policies
420
425
 
426
+ @property
427
+ def inherit_steward(self):
428
+ """Gets the inherit_steward of this DatasetRequestModel. # noqa: E501
429
+
430
+ If true, all snapshots created from this dataset will grant dataset custodians the steward (owner) role on the snapshots. This is intended to be used in cases where a dataset will have many (> 1000) snapshots and the user wants all dataset custodians to have this role on all snapshots. Using this flag is a more efficient way to grant this role, and will avoid using up google resource quotas. # noqa: E501
431
+
432
+ :return: The inherit_steward of this DatasetRequestModel. # noqa: E501
433
+ :rtype: bool
434
+ """
435
+ return self._inherit_steward
436
+
437
+ @inherit_steward.setter
438
+ def inherit_steward(self, inherit_steward):
439
+ """Sets the inherit_steward of this DatasetRequestModel.
440
+
441
+ If true, all snapshots created from this dataset will grant dataset custodians the steward (owner) role on the snapshots. This is intended to be used in cases where a dataset will have many (> 1000) snapshots and the user wants all dataset custodians to have this role on all snapshots. Using this flag is a more efficient way to grant this role, and will avoid using up google resource quotas. # noqa: E501
442
+
443
+ :param inherit_steward: The inherit_steward of this DatasetRequestModel. # noqa: E501
444
+ :type: bool
445
+ """
446
+
447
+ self._inherit_steward = inherit_steward
448
+
421
449
  @property
422
450
  def tags(self):
423
451
  """Gets the tags of this DatasetRequestModel. # noqa: E501
@@ -47,7 +47,8 @@ class DatasetSummaryModel(object):
47
47
  'self_hosted': 'bool',
48
48
  'predictable_file_ids': 'bool',
49
49
  'tags': 'list[str]',
50
- 'resource_locks': 'ResourceLocks'
50
+ 'resource_locks': 'ResourceLocks',
51
+ 'inherit_steward': 'bool'
51
52
  }
52
53
 
53
54
  attribute_map = {
@@ -65,10 +66,11 @@ class DatasetSummaryModel(object):
65
66
  'self_hosted': 'selfHosted',
66
67
  'predictable_file_ids': 'predictableFileIds',
67
68
  'tags': 'tags',
68
- 'resource_locks': 'resourceLocks'
69
+ 'resource_locks': 'resourceLocks',
70
+ 'inherit_steward': 'inheritSteward'
69
71
  }
70
72
 
71
- def __init__(self, id=None, name=None, description=None, default_profile_id=None, created_date=None, storage=None, secure_monitoring_enabled=False, cloud_platform=None, data_project=None, storage_account=None, phs_id=None, self_hosted=False, predictable_file_ids=False, tags=None, resource_locks=None, local_vars_configuration=None): # noqa: E501
73
+ def __init__(self, id=None, name=None, description=None, default_profile_id=None, created_date=None, storage=None, secure_monitoring_enabled=False, cloud_platform=None, data_project=None, storage_account=None, phs_id=None, self_hosted=False, predictable_file_ids=False, tags=None, resource_locks=None, inherit_steward=False, local_vars_configuration=None): # noqa: E501
72
74
  """DatasetSummaryModel - a model defined in OpenAPI""" # noqa: E501
73
75
  if local_vars_configuration is None:
74
76
  local_vars_configuration = Configuration()
@@ -89,6 +91,7 @@ class DatasetSummaryModel(object):
89
91
  self._predictable_file_ids = None
90
92
  self._tags = None
91
93
  self._resource_locks = None
94
+ self._inherit_steward = None
92
95
  self.discriminator = None
93
96
 
94
97
  if id is not None:
@@ -121,6 +124,8 @@ class DatasetSummaryModel(object):
121
124
  self.tags = tags
122
125
  if resource_locks is not None:
123
126
  self.resource_locks = resource_locks
127
+ if inherit_steward is not None:
128
+ self.inherit_steward = inherit_steward
124
129
 
125
130
  @property
126
131
  def id(self):
@@ -466,6 +471,29 @@ class DatasetSummaryModel(object):
466
471
 
467
472
  self._resource_locks = resource_locks
468
473
 
474
+ @property
475
+ def inherit_steward(self):
476
+ """Gets the inherit_steward of this DatasetSummaryModel. # noqa: E501
477
+
478
+ If true, all snapshots created from this dataset will grant dataset custodians the steward (owner) role on the snapshots. # noqa: E501
479
+
480
+ :return: The inherit_steward of this DatasetSummaryModel. # noqa: E501
481
+ :rtype: bool
482
+ """
483
+ return self._inherit_steward
484
+
485
+ @inherit_steward.setter
486
+ def inherit_steward(self, inherit_steward):
487
+ """Sets the inherit_steward of this DatasetSummaryModel.
488
+
489
+ If true, all snapshots created from this dataset will grant dataset custodians the steward (owner) role on the snapshots. # noqa: E501
490
+
491
+ :param inherit_steward: The inherit_steward of this DatasetSummaryModel. # noqa: E501
492
+ :type: bool
493
+ """
494
+
495
+ self._inherit_steward = inherit_steward
496
+
469
497
  def to_dict(self):
470
498
  """Returns the model properties as a dict"""
471
499
  result = {}
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: data-repo-client
3
- Version: 2.233.0
3
+ Version: 2.235.0
4
4
  Summary: Data Repository API
5
5
  Home-page:
6
6
  Author: OpenAPI Generator community
@@ -1,6 +1,6 @@
1
- data_repo_client/__init__.py,sha256=bg5i4uE9ci5PnvPkZdONBpQpNg63m1XNEppQ8mD_JBg,18151
2
- data_repo_client/api_client.py,sha256=eHrzPQ4B1pWG9j4mfttjUHLdj3uMlzCJvV0jDSisLOE,27141
3
- data_repo_client/configuration.py,sha256=FqJUt1lqAziZvF-Pc05gfoie7T-6NT0gOmJEXqM-mmY,13682
1
+ data_repo_client/__init__.py,sha256=qJrKjAacSyDt3-A8m7cMDf5Z9QV-rtfa4Sm6M7rj10w,18151
2
+ data_repo_client/api_client.py,sha256=MopmX_KRkUtS3Vww0NGxL5iHHgaCnFvw2zRi3V2FEGQ,27141
3
+ data_repo_client/configuration.py,sha256=fU_QETkstqSjnTbbXHom81WcKmOY7juOi96maokIYOY,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
@@ -63,16 +63,16 @@ data_repo_client/models/data_deletion_json_array_model.py,sha256=T0KrJuTrxKnlXrc
63
63
  data_repo_client/models/data_deletion_request.py,sha256=ZLTfGmjVqo1pZCS2e81yeelPICLyhb3MH8lZfhtUWWE,8176
64
64
  data_repo_client/models/data_deletion_table_model.py,sha256=V4e3w_lYx5R50y23OFz0Qw3JP_z_yU8n76DXVivquEQ,6382
65
65
  data_repo_client/models/dataset_data_model.py,sha256=MeSpkKKarPgD53uYhAh08XBFBFTGzL3WZICzIgr5kUk,6024
66
- data_repo_client/models/dataset_model.py,sha256=gn6fwpPeTvIL4zzWfrux3WK3T6jRXAvxgM9qYjaH-ds,21195
66
+ data_repo_client/models/dataset_model.py,sha256=hKWVS9cBoNKo5g9NZ7cAYjoUxTAMt_NicenyuQY6qjU,22285
67
67
  data_repo_client/models/dataset_patch_request_model.py,sha256=QJZ0Zyn7-BgD0dr7UWypQtxxkv047YAu5933lY8NtZM,6311
68
68
  data_repo_client/models/dataset_request_access_include_model.py,sha256=D_ZdqcVDMcX8YfR94MBOLk_1lOkQ1xdlbNIzKIc5rWM,4006
69
- data_repo_client/models/dataset_request_model.py,sha256=vbkBNrBh9-t_ti0EQ0VpIEYlTMyxOcQrTfOlGsYO7zA,21943
69
+ data_repo_client/models/dataset_request_model.py,sha256=KZ-6iiobExHDcDyxfqBoH3k2xvB4NA27ger0v_kIuyQ,23607
70
70
  data_repo_client/models/dataset_request_model_policies.py,sha256=Yl3tf0gLZSA69v6oiHnnNsavOZAdA4xFJLG8nOHuPEg,6054
71
71
  data_repo_client/models/dataset_schema_column_update_model.py,sha256=29ZCpEk0_PLBbRtKxWJ1mm6iJkwI0_ReBNj4DT6pQG0,5161
72
72
  data_repo_client/models/dataset_schema_update_model.py,sha256=2icmS1BMYFsxYER59_sHMXbsGm-A_bohhVguxxPwV7g,5152
73
73
  data_repo_client/models/dataset_schema_update_model_changes.py,sha256=xs0AN-aApqzEBHPUzSVGp0pSPV_P7bGsRLV7LNpcljw,6320
74
74
  data_repo_client/models/dataset_specification_model.py,sha256=p0wTr3i0fN-7R2w8iAKAeKMuxoBGyU4Dcz6HUgjcZLU,6063
75
- data_repo_client/models/dataset_summary_model.py,sha256=VBhnJf9nEpYGBTxfiBfiIbONRlb_aSNxza2JCxFCrUg,17724
75
+ data_repo_client/models/dataset_summary_model.py,sha256=O4RARng8uk2LLSAfNV697inbqpml5_D2kuaDOjtVnaM,18842
76
76
  data_repo_client/models/date_partition_options_model.py,sha256=ITrkbX9PR2obOq8Rss64-lpbuRQ3CIWyxzf-dwe7504,5840
77
77
  data_repo_client/models/delete_response_model.py,sha256=y1FwgHj9XChiH5WJujUXZ7_7Rq3qD7_P6STALfRmtiI,4733
78
78
  data_repo_client/models/directory_detail_model.py,sha256=MIbAVlqDeNZa026sk_xksgXJkLMbaZGTCoOa6qfcvQE,5821
@@ -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.233.0.dist-info/METADATA,sha256=G7d12TM3XbqwUKj_xmIbpCVDGL6ElqAbHY-wj7YAOxA,1420
201
- data_repo_client-2.233.0.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
202
- data_repo_client-2.233.0.dist-info/top_level.txt,sha256=rxRfDoBxOaUhmfMLoiE926w1prfERSr2Qg70w69QsgQ,17
203
- data_repo_client-2.233.0.dist-info/RECORD,,
200
+ data_repo_client-2.235.0.dist-info/METADATA,sha256=q3wbZ5ks7uerywvQAd8nQRCT7EisE4PDyznVyHYmUa0,1420
201
+ data_repo_client-2.235.0.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
202
+ data_repo_client-2.235.0.dist-info/top_level.txt,sha256=rxRfDoBxOaUhmfMLoiE926w1prfERSr2Qg70w69QsgQ,17
203
+ data_repo_client-2.235.0.dist-info/RECORD,,