lightning-sdk 2025.7.22__py3-none-any.whl → 2025.7.31__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.
Files changed (64) hide show
  1. lightning_sdk/__init__.py +1 -1
  2. lightning_sdk/api/cloud_account_api.py +58 -8
  3. lightning_sdk/api/job_api.py +74 -11
  4. lightning_sdk/api/llm_api.py +1 -1
  5. lightning_sdk/api/mmt_api.py +35 -5
  6. lightning_sdk/api/studio_api.py +32 -3
  7. lightning_sdk/api/utils.py +6 -2
  8. lightning_sdk/cli/create.py +3 -1
  9. lightning_sdk/cli/deploy/serve.py +3 -1
  10. lightning_sdk/cli/download.py +25 -1
  11. lightning_sdk/cli/entrypoint.py +3 -1
  12. lightning_sdk/cli/list.py +5 -1
  13. lightning_sdk/cli/run.py +3 -1
  14. lightning_sdk/cli/start.py +3 -1
  15. lightning_sdk/cli/switch.py +3 -1
  16. lightning_sdk/job/v2.py +7 -1
  17. lightning_sdk/job/work.py +5 -1
  18. lightning_sdk/lightning_cloud/openapi/__init__.py +6 -1
  19. lightning_sdk/lightning_cloud/openapi/api/assistants_service_api.py +106 -13
  20. lightning_sdk/lightning_cloud/openapi/api/cloudy_service_api.py +295 -0
  21. lightning_sdk/lightning_cloud/openapi/api/cluster_service_api.py +93 -0
  22. lightning_sdk/lightning_cloud/openapi/models/__init__.py +6 -1
  23. lightning_sdk/lightning_cloud/openapi/models/agentmanagedendpoints_id_body.py +27 -1
  24. lightning_sdk/lightning_cloud/openapi/models/metricsstream_id_body.py +27 -1
  25. lightning_sdk/lightning_cloud/openapi/models/project_id_schedules_body.py +53 -1
  26. lightning_sdk/lightning_cloud/openapi/models/schedules_id_body.py +53 -1
  27. lightning_sdk/lightning_cloud/openapi/models/user_id_upgradetrigger_body.py +29 -3
  28. lightning_sdk/lightning_cloud/openapi/models/user_user_id_body.py +201 -0
  29. lightning_sdk/lightning_cloud/openapi/models/v1_billing_subscription.py +27 -1
  30. lightning_sdk/lightning_cloud/openapi/models/v1_cloudy_settings.py +227 -0
  31. lightning_sdk/lightning_cloud/openapi/models/v1_cluster_spec.py +27 -1
  32. lightning_sdk/lightning_cloud/openapi/models/v1_conversation_response_chunk.py +27 -1
  33. lightning_sdk/lightning_cloud/openapi/models/v1_create_subscription_checkout_session_request.py +27 -1
  34. lightning_sdk/lightning_cloud/openapi/models/v1_function_call.py +149 -0
  35. lightning_sdk/lightning_cloud/openapi/models/v1_get_cluster_health_response.py +149 -0
  36. lightning_sdk/lightning_cloud/openapi/models/v1_get_user_response.py +27 -1
  37. lightning_sdk/lightning_cloud/openapi/models/v1_job_spec.py +27 -1
  38. lightning_sdk/lightning_cloud/openapi/models/v1_kubernetes_direct_v1.py +27 -1
  39. lightning_sdk/lightning_cloud/openapi/models/{v1_list_published_managed_endpoint_models_response.py → v1_list_published_managed_endpoints_response.py} +23 -23
  40. lightning_sdk/lightning_cloud/openapi/models/v1_managed_endpoint.py +27 -1
  41. lightning_sdk/lightning_cloud/openapi/models/v1_managed_model.py +95 -17
  42. lightning_sdk/lightning_cloud/openapi/models/v1_resource_visibility.py +27 -1
  43. lightning_sdk/lightning_cloud/openapi/models/v1_response_choice.py +29 -3
  44. lightning_sdk/lightning_cloud/openapi/models/v1_schedule.py +53 -1
  45. lightning_sdk/lightning_cloud/openapi/models/v1_service_health.py +27 -1
  46. lightning_sdk/lightning_cloud/openapi/models/v1_slurm_v1.py +79 -1
  47. lightning_sdk/lightning_cloud/openapi/models/v1_slurm_v1_status.py +79 -1
  48. lightning_sdk/lightning_cloud/openapi/models/v1_tool_call.py +175 -0
  49. lightning_sdk/lightning_cloud/openapi/models/v1_user_features.py +79 -53
  50. lightning_sdk/lightning_cloud/openapi/models/v1_volume_state.py +1 -0
  51. lightning_sdk/llm/llm.py +41 -7
  52. lightning_sdk/llm/public_assistants.json +32 -8
  53. lightning_sdk/machine.py +139 -43
  54. lightning_sdk/mmt/v2.py +6 -1
  55. lightning_sdk/models.py +1 -1
  56. lightning_sdk/studio.py +12 -5
  57. lightning_sdk/teamspace.py +5 -2
  58. lightning_sdk/utils/resolve.py +8 -0
  59. {lightning_sdk-2025.7.22.dist-info → lightning_sdk-2025.7.31.dist-info}/METADATA +7 -5
  60. {lightning_sdk-2025.7.22.dist-info → lightning_sdk-2025.7.31.dist-info}/RECORD +64 -59
  61. {lightning_sdk-2025.7.22.dist-info → lightning_sdk-2025.7.31.dist-info}/LICENSE +0 -0
  62. {lightning_sdk-2025.7.22.dist-info → lightning_sdk-2025.7.31.dist-info}/WHEEL +0 -0
  63. {lightning_sdk-2025.7.22.dist-info → lightning_sdk-2025.7.31.dist-info}/entry_points.txt +0 -0
  64. {lightning_sdk-2025.7.22.dist-info → lightning_sdk-2025.7.31.dist-info}/top_level.txt +0 -0
@@ -42,11 +42,12 @@ class V1ManagedModel(object):
42
42
  """
43
43
  swagger_types = {
44
44
  'abilities': 'V1ManagedModelAbilities',
45
+ 'assistant_id': 'str',
45
46
  'completion_token_price': 'float',
46
47
  'context_length': 'str',
47
48
  'deployment_details': 'V1DeploymentDetails',
48
49
  'description': 'str',
49
- 'disabled': 'bool',
50
+ 'display_name': 'str',
50
51
  'endpoint_id': 'str',
51
52
  'id': 'str',
52
53
  'max_completion_tokens': 'str',
@@ -54,16 +55,19 @@ class V1ManagedModel(object):
54
55
  'prompt_token_price': 'float',
55
56
  'status': 'V1AssistantModelStatus',
56
57
  'temperature': 'float',
58
+ 'throughput': 'float',
59
+ 'time_to_first_token': 'float',
57
60
  'top_k': 'str'
58
61
  }
59
62
 
60
63
  attribute_map = {
61
64
  'abilities': 'abilities',
65
+ 'assistant_id': 'assistantId',
62
66
  'completion_token_price': 'completionTokenPrice',
63
67
  'context_length': 'contextLength',
64
68
  'deployment_details': 'deploymentDetails',
65
69
  'description': 'description',
66
- 'disabled': 'disabled',
70
+ 'display_name': 'displayName',
67
71
  'endpoint_id': 'endpointId',
68
72
  'id': 'id',
69
73
  'max_completion_tokens': 'maxCompletionTokens',
@@ -71,17 +75,20 @@ class V1ManagedModel(object):
71
75
  'prompt_token_price': 'promptTokenPrice',
72
76
  'status': 'status',
73
77
  'temperature': 'temperature',
78
+ 'throughput': 'throughput',
79
+ 'time_to_first_token': 'timeToFirstToken',
74
80
  'top_k': 'topK'
75
81
  }
76
82
 
77
- def __init__(self, abilities: 'V1ManagedModelAbilities' =None, completion_token_price: 'float' =None, context_length: 'str' =None, deployment_details: 'V1DeploymentDetails' =None, description: 'str' =None, disabled: 'bool' =None, endpoint_id: 'str' =None, id: 'str' =None, max_completion_tokens: 'str' =None, name: 'str' =None, prompt_token_price: 'float' =None, status: 'V1AssistantModelStatus' =None, temperature: 'float' =None, top_k: 'str' =None): # noqa: E501
83
+ def __init__(self, abilities: 'V1ManagedModelAbilities' =None, assistant_id: 'str' =None, completion_token_price: 'float' =None, context_length: 'str' =None, deployment_details: 'V1DeploymentDetails' =None, description: 'str' =None, display_name: 'str' =None, endpoint_id: 'str' =None, id: 'str' =None, max_completion_tokens: 'str' =None, name: 'str' =None, prompt_token_price: 'float' =None, status: 'V1AssistantModelStatus' =None, temperature: 'float' =None, throughput: 'float' =None, time_to_first_token: 'float' =None, top_k: 'str' =None): # noqa: E501
78
84
  """V1ManagedModel - a model defined in Swagger""" # noqa: E501
79
85
  self._abilities = None
86
+ self._assistant_id = None
80
87
  self._completion_token_price = None
81
88
  self._context_length = None
82
89
  self._deployment_details = None
83
90
  self._description = None
84
- self._disabled = None
91
+ self._display_name = None
85
92
  self._endpoint_id = None
86
93
  self._id = None
87
94
  self._max_completion_tokens = None
@@ -89,10 +96,14 @@ class V1ManagedModel(object):
89
96
  self._prompt_token_price = None
90
97
  self._status = None
91
98
  self._temperature = None
99
+ self._throughput = None
100
+ self._time_to_first_token = None
92
101
  self._top_k = None
93
102
  self.discriminator = None
94
103
  if abilities is not None:
95
104
  self.abilities = abilities
105
+ if assistant_id is not None:
106
+ self.assistant_id = assistant_id
96
107
  if completion_token_price is not None:
97
108
  self.completion_token_price = completion_token_price
98
109
  if context_length is not None:
@@ -101,8 +112,8 @@ class V1ManagedModel(object):
101
112
  self.deployment_details = deployment_details
102
113
  if description is not None:
103
114
  self.description = description
104
- if disabled is not None:
105
- self.disabled = disabled
115
+ if display_name is not None:
116
+ self.display_name = display_name
106
117
  if endpoint_id is not None:
107
118
  self.endpoint_id = endpoint_id
108
119
  if id is not None:
@@ -117,6 +128,10 @@ class V1ManagedModel(object):
117
128
  self.status = status
118
129
  if temperature is not None:
119
130
  self.temperature = temperature
131
+ if throughput is not None:
132
+ self.throughput = throughput
133
+ if time_to_first_token is not None:
134
+ self.time_to_first_token = time_to_first_token
120
135
  if top_k is not None:
121
136
  self.top_k = top_k
122
137
 
@@ -141,6 +156,27 @@ class V1ManagedModel(object):
141
156
 
142
157
  self._abilities = abilities
143
158
 
159
+ @property
160
+ def assistant_id(self) -> 'str':
161
+ """Gets the assistant_id of this V1ManagedModel. # noqa: E501
162
+
163
+
164
+ :return: The assistant_id of this V1ManagedModel. # noqa: E501
165
+ :rtype: str
166
+ """
167
+ return self._assistant_id
168
+
169
+ @assistant_id.setter
170
+ def assistant_id(self, assistant_id: 'str'):
171
+ """Sets the assistant_id of this V1ManagedModel.
172
+
173
+
174
+ :param assistant_id: The assistant_id of this V1ManagedModel. # noqa: E501
175
+ :type: str
176
+ """
177
+
178
+ self._assistant_id = assistant_id
179
+
144
180
  @property
145
181
  def completion_token_price(self) -> 'float':
146
182
  """Gets the completion_token_price of this V1ManagedModel. # noqa: E501
@@ -226,25 +262,25 @@ class V1ManagedModel(object):
226
262
  self._description = description
227
263
 
228
264
  @property
229
- def disabled(self) -> 'bool':
230
- """Gets the disabled of this V1ManagedModel. # noqa: E501
265
+ def display_name(self) -> 'str':
266
+ """Gets the display_name of this V1ManagedModel. # noqa: E501
231
267
 
232
268
 
233
- :return: The disabled of this V1ManagedModel. # noqa: E501
234
- :rtype: bool
269
+ :return: The display_name of this V1ManagedModel. # noqa: E501
270
+ :rtype: str
235
271
  """
236
- return self._disabled
272
+ return self._display_name
237
273
 
238
- @disabled.setter
239
- def disabled(self, disabled: 'bool'):
240
- """Sets the disabled of this V1ManagedModel.
274
+ @display_name.setter
275
+ def display_name(self, display_name: 'str'):
276
+ """Sets the display_name of this V1ManagedModel.
241
277
 
242
278
 
243
- :param disabled: The disabled of this V1ManagedModel. # noqa: E501
244
- :type: bool
279
+ :param display_name: The display_name of this V1ManagedModel. # noqa: E501
280
+ :type: str
245
281
  """
246
282
 
247
- self._disabled = disabled
283
+ self._display_name = display_name
248
284
 
249
285
  @property
250
286
  def endpoint_id(self) -> 'str':
@@ -393,6 +429,48 @@ class V1ManagedModel(object):
393
429
 
394
430
  self._temperature = temperature
395
431
 
432
+ @property
433
+ def throughput(self) -> 'float':
434
+ """Gets the throughput of this V1ManagedModel. # noqa: E501
435
+
436
+
437
+ :return: The throughput of this V1ManagedModel. # noqa: E501
438
+ :rtype: float
439
+ """
440
+ return self._throughput
441
+
442
+ @throughput.setter
443
+ def throughput(self, throughput: 'float'):
444
+ """Sets the throughput of this V1ManagedModel.
445
+
446
+
447
+ :param throughput: The throughput of this V1ManagedModel. # noqa: E501
448
+ :type: float
449
+ """
450
+
451
+ self._throughput = throughput
452
+
453
+ @property
454
+ def time_to_first_token(self) -> 'float':
455
+ """Gets the time_to_first_token of this V1ManagedModel. # noqa: E501
456
+
457
+
458
+ :return: The time_to_first_token of this V1ManagedModel. # noqa: E501
459
+ :rtype: float
460
+ """
461
+ return self._time_to_first_token
462
+
463
+ @time_to_first_token.setter
464
+ def time_to_first_token(self, time_to_first_token: 'float'):
465
+ """Sets the time_to_first_token of this V1ManagedModel.
466
+
467
+
468
+ :param time_to_first_token: The time_to_first_token of this V1ManagedModel. # noqa: E501
469
+ :type: float
470
+ """
471
+
472
+ self._time_to_first_token = time_to_first_token
473
+
396
474
  @property
397
475
  def top_k(self) -> 'str':
398
476
  """Gets the top_k of this V1ManagedModel. # noqa: E501
@@ -43,25 +43,30 @@ class V1ResourceVisibility(object):
43
43
  swagger_types = {
44
44
  'all_org_users': 'bool',
45
45
  'all_users': 'bool',
46
+ 'public': 'bool',
46
47
  'user_ids': 'list[str]'
47
48
  }
48
49
 
49
50
  attribute_map = {
50
51
  'all_org_users': 'allOrgUsers',
51
52
  'all_users': 'allUsers',
53
+ 'public': 'public',
52
54
  'user_ids': 'userIds'
53
55
  }
54
56
 
55
- def __init__(self, all_org_users: 'bool' =None, all_users: 'bool' =None, user_ids: 'list[str]' =None): # noqa: E501
57
+ def __init__(self, all_org_users: 'bool' =None, all_users: 'bool' =None, public: 'bool' =None, user_ids: 'list[str]' =None): # noqa: E501
56
58
  """V1ResourceVisibility - a model defined in Swagger""" # noqa: E501
57
59
  self._all_org_users = None
58
60
  self._all_users = None
61
+ self._public = None
59
62
  self._user_ids = None
60
63
  self.discriminator = None
61
64
  if all_org_users is not None:
62
65
  self.all_org_users = all_org_users
63
66
  if all_users is not None:
64
67
  self.all_users = all_users
68
+ if public is not None:
69
+ self.public = public
65
70
  if user_ids is not None:
66
71
  self.user_ids = user_ids
67
72
 
@@ -107,6 +112,27 @@ class V1ResourceVisibility(object):
107
112
 
108
113
  self._all_users = all_users
109
114
 
115
+ @property
116
+ def public(self) -> 'bool':
117
+ """Gets the public of this V1ResourceVisibility. # noqa: E501
118
+
119
+
120
+ :return: The public of this V1ResourceVisibility. # noqa: E501
121
+ :rtype: bool
122
+ """
123
+ return self._public
124
+
125
+ @public.setter
126
+ def public(self, public: 'bool'):
127
+ """Sets the public of this V1ResourceVisibility.
128
+
129
+
130
+ :param public: The public of this V1ResourceVisibility. # noqa: E501
131
+ :type: bool
132
+ """
133
+
134
+ self._public = public
135
+
110
136
  @property
111
137
  def user_ids(self) -> 'list[str]':
112
138
  """Gets the user_ids of this V1ResourceVisibility. # noqa: E501
@@ -43,20 +43,23 @@ class V1ResponseChoice(object):
43
43
  swagger_types = {
44
44
  'delta': 'V1ResponseChoiceDelta',
45
45
  'finish_reason': 'str',
46
- 'index': 'int'
46
+ 'index': 'int',
47
+ 'tool_calls': 'list[V1ToolCall]'
47
48
  }
48
49
 
49
50
  attribute_map = {
50
51
  'delta': 'delta',
51
52
  'finish_reason': 'finishReason',
52
- 'index': 'index'
53
+ 'index': 'index',
54
+ 'tool_calls': 'toolCalls'
53
55
  }
54
56
 
55
- def __init__(self, delta: 'V1ResponseChoiceDelta' =None, finish_reason: 'str' =None, index: 'int' =None): # noqa: E501
57
+ def __init__(self, delta: 'V1ResponseChoiceDelta' =None, finish_reason: 'str' =None, index: 'int' =None, tool_calls: 'list[V1ToolCall]' =None): # noqa: E501
56
58
  """V1ResponseChoice - a model defined in Swagger""" # noqa: E501
57
59
  self._delta = None
58
60
  self._finish_reason = None
59
61
  self._index = None
62
+ self._tool_calls = None
60
63
  self.discriminator = None
61
64
  if delta is not None:
62
65
  self.delta = delta
@@ -64,6 +67,8 @@ class V1ResponseChoice(object):
64
67
  self.finish_reason = finish_reason
65
68
  if index is not None:
66
69
  self.index = index
70
+ if tool_calls is not None:
71
+ self.tool_calls = tool_calls
67
72
 
68
73
  @property
69
74
  def delta(self) -> 'V1ResponseChoiceDelta':
@@ -128,6 +133,27 @@ class V1ResponseChoice(object):
128
133
 
129
134
  self._index = index
130
135
 
136
+ @property
137
+ def tool_calls(self) -> 'list[V1ToolCall]':
138
+ """Gets the tool_calls of this V1ResponseChoice. # noqa: E501
139
+
140
+
141
+ :return: The tool_calls of this V1ResponseChoice. # noqa: E501
142
+ :rtype: list[V1ToolCall]
143
+ """
144
+ return self._tool_calls
145
+
146
+ @tool_calls.setter
147
+ def tool_calls(self, tool_calls: 'list[V1ToolCall]'):
148
+ """Sets the tool_calls of this V1ResponseChoice.
149
+
150
+
151
+ :param tool_calls: The tool_calls of this V1ResponseChoice. # noqa: E501
152
+ :type: list[V1ToolCall]
153
+ """
154
+
155
+ self._tool_calls = tool_calls
156
+
131
157
  def to_dict(self) -> dict:
132
158
  """Returns the model properties as a dict"""
133
159
  result = {}
@@ -42,12 +42,14 @@ class V1Schedule(object):
42
42
  """
43
43
  swagger_types = {
44
44
  'action_type': 'V1ScheduleActionType',
45
+ 'command': 'str',
45
46
  'created_at': 'datetime',
46
47
  'cron_expression': 'str',
47
48
  'display_name': 'str',
48
49
  'id': 'str',
49
50
  'name': 'str',
50
51
  'next': 'datetime',
52
+ 'parallel_runs': 'bool',
51
53
  'parent_resource_id': 'str',
52
54
  'project_id': 'str',
53
55
  'resource_id': 'str',
@@ -61,12 +63,14 @@ class V1Schedule(object):
61
63
 
62
64
  attribute_map = {
63
65
  'action_type': 'actionType',
66
+ 'command': 'command',
64
67
  'created_at': 'createdAt',
65
68
  'cron_expression': 'cronExpression',
66
69
  'display_name': 'displayName',
67
70
  'id': 'id',
68
71
  'name': 'name',
69
72
  'next': 'next',
73
+ 'parallel_runs': 'parallelRuns',
70
74
  'parent_resource_id': 'parentResourceId',
71
75
  'project_id': 'projectId',
72
76
  'resource_id': 'resourceId',
@@ -78,15 +82,17 @@ class V1Schedule(object):
78
82
  'user_id': 'userId'
79
83
  }
80
84
 
81
- def __init__(self, action_type: 'V1ScheduleActionType' =None, created_at: 'datetime' =None, cron_expression: 'str' =None, display_name: 'str' =None, id: 'str' =None, name: 'str' =None, next: 'datetime' =None, parent_resource_id: 'str' =None, project_id: 'str' =None, resource_id: 'str' =None, resource_type: 'V1ScheduleResourceType' =None, state: 'str' =None, timezone: 'str' =None, total: 'int' =None, updated_at: 'datetime' =None, user_id: 'str' =None): # noqa: E501
85
+ def __init__(self, action_type: 'V1ScheduleActionType' =None, command: 'str' =None, created_at: 'datetime' =None, cron_expression: 'str' =None, display_name: 'str' =None, id: 'str' =None, name: 'str' =None, next: 'datetime' =None, parallel_runs: 'bool' =None, parent_resource_id: 'str' =None, project_id: 'str' =None, resource_id: 'str' =None, resource_type: 'V1ScheduleResourceType' =None, state: 'str' =None, timezone: 'str' =None, total: 'int' =None, updated_at: 'datetime' =None, user_id: 'str' =None): # noqa: E501
82
86
  """V1Schedule - a model defined in Swagger""" # noqa: E501
83
87
  self._action_type = None
88
+ self._command = None
84
89
  self._created_at = None
85
90
  self._cron_expression = None
86
91
  self._display_name = None
87
92
  self._id = None
88
93
  self._name = None
89
94
  self._next = None
95
+ self._parallel_runs = None
90
96
  self._parent_resource_id = None
91
97
  self._project_id = None
92
98
  self._resource_id = None
@@ -99,6 +105,8 @@ class V1Schedule(object):
99
105
  self.discriminator = None
100
106
  if action_type is not None:
101
107
  self.action_type = action_type
108
+ if command is not None:
109
+ self.command = command
102
110
  if created_at is not None:
103
111
  self.created_at = created_at
104
112
  if cron_expression is not None:
@@ -111,6 +119,8 @@ class V1Schedule(object):
111
119
  self.name = name
112
120
  if next is not None:
113
121
  self.next = next
122
+ if parallel_runs is not None:
123
+ self.parallel_runs = parallel_runs
114
124
  if parent_resource_id is not None:
115
125
  self.parent_resource_id = parent_resource_id
116
126
  if project_id is not None:
@@ -151,6 +161,27 @@ class V1Schedule(object):
151
161
 
152
162
  self._action_type = action_type
153
163
 
164
+ @property
165
+ def command(self) -> 'str':
166
+ """Gets the command of this V1Schedule. # noqa: E501
167
+
168
+
169
+ :return: The command of this V1Schedule. # noqa: E501
170
+ :rtype: str
171
+ """
172
+ return self._command
173
+
174
+ @command.setter
175
+ def command(self, command: 'str'):
176
+ """Sets the command of this V1Schedule.
177
+
178
+
179
+ :param command: The command of this V1Schedule. # noqa: E501
180
+ :type: str
181
+ """
182
+
183
+ self._command = command
184
+
154
185
  @property
155
186
  def created_at(self) -> 'datetime':
156
187
  """Gets the created_at of this V1Schedule. # noqa: E501
@@ -277,6 +308,27 @@ class V1Schedule(object):
277
308
 
278
309
  self._next = next
279
310
 
311
+ @property
312
+ def parallel_runs(self) -> 'bool':
313
+ """Gets the parallel_runs of this V1Schedule. # noqa: E501
314
+
315
+
316
+ :return: The parallel_runs of this V1Schedule. # noqa: E501
317
+ :rtype: bool
318
+ """
319
+ return self._parallel_runs
320
+
321
+ @parallel_runs.setter
322
+ def parallel_runs(self, parallel_runs: 'bool'):
323
+ """Sets the parallel_runs of this V1Schedule.
324
+
325
+
326
+ :param parallel_runs: The parallel_runs of this V1Schedule. # noqa: E501
327
+ :type: bool
328
+ """
329
+
330
+ self._parallel_runs = parallel_runs
331
+
280
332
  @property
281
333
  def parent_resource_id(self) -> 'str':
282
334
  """Gets the parent_resource_id of this V1Schedule. # noqa: E501
@@ -41,25 +41,51 @@ class V1ServiceHealth(object):
41
41
  and the value is json key in definition.
42
42
  """
43
43
  swagger_types = {
44
+ 'is_fatal': 'bool',
44
45
  'name': 'str',
45
46
  'status': 'ServiceHealthServiceStatus'
46
47
  }
47
48
 
48
49
  attribute_map = {
50
+ 'is_fatal': 'isFatal',
49
51
  'name': 'name',
50
52
  'status': 'status'
51
53
  }
52
54
 
53
- def __init__(self, name: 'str' =None, status: 'ServiceHealthServiceStatus' =None): # noqa: E501
55
+ def __init__(self, is_fatal: 'bool' =None, name: 'str' =None, status: 'ServiceHealthServiceStatus' =None): # noqa: E501
54
56
  """V1ServiceHealth - a model defined in Swagger""" # noqa: E501
57
+ self._is_fatal = None
55
58
  self._name = None
56
59
  self._status = None
57
60
  self.discriminator = None
61
+ if is_fatal is not None:
62
+ self.is_fatal = is_fatal
58
63
  if name is not None:
59
64
  self.name = name
60
65
  if status is not None:
61
66
  self.status = status
62
67
 
68
+ @property
69
+ def is_fatal(self) -> 'bool':
70
+ """Gets the is_fatal of this V1ServiceHealth. # noqa: E501
71
+
72
+
73
+ :return: The is_fatal of this V1ServiceHealth. # noqa: E501
74
+ :rtype: bool
75
+ """
76
+ return self._is_fatal
77
+
78
+ @is_fatal.setter
79
+ def is_fatal(self, is_fatal: 'bool'):
80
+ """Sets the is_fatal of this V1ServiceHealth.
81
+
82
+
83
+ :param is_fatal: The is_fatal of this V1ServiceHealth. # noqa: E501
84
+ :type: bool
85
+ """
86
+
87
+ self._is_fatal = is_fatal
88
+
63
89
  @property
64
90
  def name(self) -> 'str':
65
91
  """Gets the name of this V1ServiceHealth. # noqa: E501
@@ -41,20 +41,98 @@ class V1SlurmV1(object):
41
41
  and the value is json key in definition.
42
42
  """
43
43
  swagger_types = {
44
+ 'login_node_ip': 'str',
45
+ 'ssh_port': 'int',
46
+ 'ssh_user': 'str',
44
47
  'work_dir': 'str'
45
48
  }
46
49
 
47
50
  attribute_map = {
51
+ 'login_node_ip': 'loginNodeIp',
52
+ 'ssh_port': 'sshPort',
53
+ 'ssh_user': 'sshUser',
48
54
  'work_dir': 'workDir'
49
55
  }
50
56
 
51
- def __init__(self, work_dir: 'str' =None): # noqa: E501
57
+ def __init__(self, login_node_ip: 'str' =None, ssh_port: 'int' =None, ssh_user: 'str' =None, work_dir: 'str' =None): # noqa: E501
52
58
  """V1SlurmV1 - a model defined in Swagger""" # noqa: E501
59
+ self._login_node_ip = None
60
+ self._ssh_port = None
61
+ self._ssh_user = None
53
62
  self._work_dir = None
54
63
  self.discriminator = None
64
+ if login_node_ip is not None:
65
+ self.login_node_ip = login_node_ip
66
+ if ssh_port is not None:
67
+ self.ssh_port = ssh_port
68
+ if ssh_user is not None:
69
+ self.ssh_user = ssh_user
55
70
  if work_dir is not None:
56
71
  self.work_dir = work_dir
57
72
 
73
+ @property
74
+ def login_node_ip(self) -> 'str':
75
+ """Gets the login_node_ip of this V1SlurmV1. # noqa: E501
76
+
77
+
78
+ :return: The login_node_ip of this V1SlurmV1. # noqa: E501
79
+ :rtype: str
80
+ """
81
+ return self._login_node_ip
82
+
83
+ @login_node_ip.setter
84
+ def login_node_ip(self, login_node_ip: 'str'):
85
+ """Sets the login_node_ip of this V1SlurmV1.
86
+
87
+
88
+ :param login_node_ip: The login_node_ip of this V1SlurmV1. # noqa: E501
89
+ :type: str
90
+ """
91
+
92
+ self._login_node_ip = login_node_ip
93
+
94
+ @property
95
+ def ssh_port(self) -> 'int':
96
+ """Gets the ssh_port of this V1SlurmV1. # noqa: E501
97
+
98
+
99
+ :return: The ssh_port of this V1SlurmV1. # noqa: E501
100
+ :rtype: int
101
+ """
102
+ return self._ssh_port
103
+
104
+ @ssh_port.setter
105
+ def ssh_port(self, ssh_port: 'int'):
106
+ """Sets the ssh_port of this V1SlurmV1.
107
+
108
+
109
+ :param ssh_port: The ssh_port of this V1SlurmV1. # noqa: E501
110
+ :type: int
111
+ """
112
+
113
+ self._ssh_port = ssh_port
114
+
115
+ @property
116
+ def ssh_user(self) -> 'str':
117
+ """Gets the ssh_user of this V1SlurmV1. # noqa: E501
118
+
119
+
120
+ :return: The ssh_user of this V1SlurmV1. # noqa: E501
121
+ :rtype: str
122
+ """
123
+ return self._ssh_user
124
+
125
+ @ssh_user.setter
126
+ def ssh_user(self, ssh_user: 'str'):
127
+ """Sets the ssh_user of this V1SlurmV1.
128
+
129
+
130
+ :param ssh_user: The ssh_user of this V1SlurmV1. # noqa: E501
131
+ :type: str
132
+ """
133
+
134
+ self._ssh_user = ssh_user
135
+
58
136
  @property
59
137
  def work_dir(self) -> 'str':
60
138
  """Gets the work_dir of this V1SlurmV1. # noqa: E501