lightning-sdk 0.2.3__py3-none-any.whl → 0.2.5__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 (110) hide show
  1. lightning_sdk/__init__.py +1 -1
  2. lightning_sdk/ai_hub.py +10 -17
  3. lightning_sdk/api/ai_hub_api.py +20 -3
  4. lightning_sdk/api/studio_api.py +0 -8
  5. lightning_sdk/cli/serve.py +139 -22
  6. lightning_sdk/deployment/deployment.py +32 -4
  7. lightning_sdk/lightning_cloud/openapi/__init__.py +49 -1
  8. lightning_sdk/lightning_cloud/openapi/api/__init__.py +4 -0
  9. lightning_sdk/lightning_cloud/openapi/api/cloud_space_environment_template_service_api.py +537 -0
  10. lightning_sdk/lightning_cloud/openapi/api/cluster_service_api.py +10 -6
  11. lightning_sdk/lightning_cloud/openapi/api/lit_dataset_service_api.py +1973 -0
  12. lightning_sdk/lightning_cloud/openapi/api/lit_registry_service_api.py +5 -1
  13. lightning_sdk/lightning_cloud/openapi/api/models_store_api.py +20 -20
  14. lightning_sdk/lightning_cloud/openapi/api/pipeline_templates_service_api.py +339 -0
  15. lightning_sdk/lightning_cloud/openapi/api/pipelines_service_api.py +5 -1
  16. lightning_sdk/lightning_cloud/openapi/api/schedules_service_api.py +573 -0
  17. lightning_sdk/lightning_cloud/openapi/api/slurm_jobs_user_service_api.py +202 -0
  18. lightning_sdk/lightning_cloud/openapi/models/__init__.py +45 -1
  19. lightning_sdk/lightning_cloud/openapi/models/cluster_id_capacityblock_body.py +15 -15
  20. lightning_sdk/lightning_cloud/openapi/models/cluster_id_slurmusers_body.py +201 -0
  21. lightning_sdk/lightning_cloud/openapi/models/dataset_id_versions_body.py +149 -0
  22. lightning_sdk/lightning_cloud/openapi/models/dataset_id_visibility_body.py +149 -0
  23. lightning_sdk/lightning_cloud/openapi/models/environmenttemplates_id_body.py +227 -0
  24. lightning_sdk/lightning_cloud/openapi/models/externalv1_cloud_space_instance_status.py +69 -69
  25. lightning_sdk/lightning_cloud/openapi/models/litdatasets_dataset_id_body.py +149 -0
  26. lightning_sdk/lightning_cloud/openapi/models/orgs_id_body.py +27 -1
  27. lightning_sdk/lightning_cloud/openapi/models/pipelines_id_body.py +69 -17
  28. lightning_sdk/lightning_cloud/openapi/models/pipelinetemplates_id_body.py +331 -0
  29. lightning_sdk/lightning_cloud/openapi/models/project_id_litdatasets_body.py +227 -0
  30. lightning_sdk/lightning_cloud/openapi/models/project_id_pipelines_body.py +17 -17
  31. lightning_sdk/lightning_cloud/openapi/models/project_id_schedules_body.py +201 -0
  32. lightning_sdk/lightning_cloud/openapi/models/schedules_id_body.py +383 -0
  33. lightning_sdk/lightning_cloud/openapi/models/slurm_jobs_body.py +15 -15
  34. lightning_sdk/lightning_cloud/openapi/models/upload_id_complete_body1.py +149 -0
  35. lightning_sdk/lightning_cloud/openapi/models/upload_id_parts_body1.py +149 -0
  36. lightning_sdk/lightning_cloud/openapi/models/v1_agent_job.py +124 -20
  37. lightning_sdk/lightning_cloud/openapi/models/v1_assistant_model_status.py +2 -0
  38. lightning_sdk/lightning_cloud/openapi/models/v1_cloud_provider.py +1 -0
  39. lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space.py +27 -1
  40. lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_environment_template.py +253 -0
  41. lightning_sdk/lightning_cloud/openapi/models/v1_cluster_spec.py +27 -1
  42. lightning_sdk/lightning_cloud/openapi/models/v1_complete_lit_dataset_multi_part_upload_response.py +97 -0
  43. lightning_sdk/lightning_cloud/openapi/models/v1_complete_lit_dataset_upload_response.py +97 -0
  44. lightning_sdk/lightning_cloud/openapi/models/v1_create_cloud_space_environment_template_request.py +149 -0
  45. lightning_sdk/lightning_cloud/openapi/models/v1_create_lit_dataset_multi_part_upload_response.py +123 -0
  46. lightning_sdk/lightning_cloud/openapi/models/v1_create_organization_request.py +27 -1
  47. lightning_sdk/lightning_cloud/openapi/models/v1_create_pipeline_template_request.py +383 -0
  48. lightning_sdk/lightning_cloud/openapi/models/v1_create_project_request.py +27 -1
  49. lightning_sdk/lightning_cloud/openapi/models/{v1_pipeline_schedule.py → v1_delete_cloud_space_environment_template_response.py} +32 -32
  50. lightning_sdk/lightning_cloud/openapi/models/v1_delete_lit_dataset_response.py +97 -0
  51. lightning_sdk/lightning_cloud/openapi/models/v1_delete_lit_dataset_version_response.py +97 -0
  52. lightning_sdk/lightning_cloud/openapi/models/v1_delete_schedule_response.py +175 -0
  53. lightning_sdk/lightning_cloud/openapi/models/v1_get_cloud_space_size_response.py +79 -1
  54. lightning_sdk/lightning_cloud/openapi/models/v1_get_lit_dataset_file_upload_urls_response.py +123 -0
  55. lightning_sdk/lightning_cloud/openapi/models/v1_get_lit_dataset_files_url_response.py +149 -0
  56. lightning_sdk/lightning_cloud/openapi/models/v1_get_user_response.py +27 -1
  57. lightning_sdk/lightning_cloud/openapi/models/v1_instance_overprovisioning_spec.py +79 -27
  58. lightning_sdk/lightning_cloud/openapi/models/v1_job_spec.py +27 -1
  59. lightning_sdk/lightning_cloud/openapi/models/v1_list_cloud_space_environment_templates_response.py +123 -0
  60. lightning_sdk/lightning_cloud/openapi/models/v1_list_lit_dataset_versions_response.py +123 -0
  61. lightning_sdk/lightning_cloud/openapi/models/v1_list_lit_datasets_response.py +123 -0
  62. lightning_sdk/lightning_cloud/openapi/models/v1_list_schedules_response.py +123 -0
  63. lightning_sdk/lightning_cloud/openapi/models/v1_list_slurm_cluster_users_response.py +123 -0
  64. lightning_sdk/lightning_cloud/openapi/models/v1_lit_dataset.py +539 -0
  65. lightning_sdk/lightning_cloud/openapi/models/v1_lit_dataset_file.py +175 -0
  66. lightning_sdk/lightning_cloud/openapi/models/v1_lit_dataset_version_archive.py +435 -0
  67. lightning_sdk/lightning_cloud/openapi/models/v1_lit_registry_project.py +27 -1
  68. lightning_sdk/lightning_cloud/openapi/models/v1_lit_repository.py +27 -1
  69. lightning_sdk/lightning_cloud/openapi/models/v1_magic_link_login_request.py +27 -1
  70. lightning_sdk/lightning_cloud/openapi/models/v1_managed_model.py +107 -3
  71. lightning_sdk/lightning_cloud/openapi/models/v1_organization.py +53 -1
  72. lightning_sdk/lightning_cloud/openapi/models/v1_pipeline.py +69 -17
  73. lightning_sdk/lightning_cloud/openapi/models/v1_pipeline_parameter.py +435 -0
  74. lightning_sdk/lightning_cloud/openapi/models/v1_pipeline_parameter_placement.py +149 -0
  75. lightning_sdk/lightning_cloud/openapi/models/v1_pipeline_parameter_placement_type.py +106 -0
  76. lightning_sdk/lightning_cloud/openapi/models/v1_pipeline_parameter_type.py +106 -0
  77. lightning_sdk/lightning_cloud/openapi/models/v1_pipeline_template.py +513 -0
  78. lightning_sdk/lightning_cloud/openapi/models/v1_pipeline_template_visibility_type.py +105 -0
  79. lightning_sdk/lightning_cloud/openapi/models/v1_project_settings.py +27 -1
  80. lightning_sdk/lightning_cloud/openapi/models/v1_schedule.py +435 -0
  81. lightning_sdk/lightning_cloud/openapi/models/v1_schedule_resource_type.py +103 -0
  82. lightning_sdk/lightning_cloud/openapi/models/v1_slurm_cluster_user.py +227 -0
  83. lightning_sdk/lightning_cloud/openapi/models/v1_slurm_job.py +58 -6
  84. lightning_sdk/lightning_cloud/openapi/models/v1_slurm_node.py +31 -291
  85. lightning_sdk/lightning_cloud/openapi/models/v1_update_lit_dataset_visibility_response.py +123 -0
  86. lightning_sdk/lightning_cloud/openapi/models/v1_update_user_request.py +27 -1
  87. lightning_sdk/lightning_cloud/openapi/models/v1_user_features.py +157 -105
  88. lightning_sdk/lightning_cloud/openapi/models/v1_validate_managed_endpoint_response.py +27 -1
  89. lightning_sdk/lightning_cloud/openapi/models/v1_voltage_park_direct_v1.py +203 -0
  90. lightning_sdk/lightning_cloud/openapi/models/version_default_body.py +29 -29
  91. lightning_sdk/lightning_cloud/openapi/models/version_default_body1.py +149 -0
  92. lightning_sdk/lightning_cloud/openapi/models/version_uploads_body1.py +123 -0
  93. lightning_sdk/lightning_cloud/openapi/models/versions_version_body1.py +123 -0
  94. lightning_sdk/lightning_cloud/rest_client.py +2 -0
  95. lightning_sdk/lit_container.py +8 -1
  96. lightning_sdk/mmt/mmt.py +1 -18
  97. lightning_sdk/mmt/v1.py +1 -28
  98. lightning_sdk/models.py +15 -6
  99. lightning_sdk/pipeline/pipeline.py +2 -2
  100. lightning_sdk/pipeline/types.py +28 -2
  101. lightning_sdk/pipeline/utils.py +1 -1
  102. lightning_sdk/plugin.py +0 -6
  103. lightning_sdk/serve.py +55 -22
  104. lightning_sdk/utils/resolve.py +1 -0
  105. {lightning_sdk-0.2.3.dist-info → lightning_sdk-0.2.5.dist-info}/METADATA +1 -1
  106. {lightning_sdk-0.2.3.dist-info → lightning_sdk-0.2.5.dist-info}/RECORD +110 -62
  107. {lightning_sdk-0.2.3.dist-info → lightning_sdk-0.2.5.dist-info}/WHEEL +1 -1
  108. {lightning_sdk-0.2.3.dist-info → lightning_sdk-0.2.5.dist-info}/LICENSE +0 -0
  109. {lightning_sdk-0.2.3.dist-info → lightning_sdk-0.2.5.dist-info}/entry_points.txt +0 -0
  110. {lightning_sdk-0.2.3.dist-info → lightning_sdk-0.2.5.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,103 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ external/v1/auth_service.proto
5
+
6
+ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
7
+
8
+ OpenAPI spec version: version not set
9
+
10
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
11
+
12
+ NOTE
13
+ ----
14
+ standard swagger-codegen-cli for this python client has been modified
15
+ by custom templates. The purpose of these templates is to include
16
+ typing information in the API and Model code. Please refer to the
17
+ main grid repository for more info
18
+ """
19
+
20
+ import pprint
21
+ import re # noqa: F401
22
+
23
+ from typing import TYPE_CHECKING
24
+
25
+ import six
26
+
27
+ if TYPE_CHECKING:
28
+ from datetime import datetime
29
+ from lightning_sdk.lightning_cloud.openapi.models import *
30
+
31
+ class V1ScheduleResourceType(object):
32
+ """NOTE: This class is auto generated by the swagger code generator program.
33
+
34
+ Do not edit the class manually.
35
+ """
36
+
37
+ """
38
+ allowed enum values
39
+ """
40
+ UNSPECIFIED = "UNSPECIFIED"
41
+ PIPELINE = "PIPELINE"
42
+ """
43
+ Attributes:
44
+ swagger_types (dict): The key is attribute name
45
+ and the value is attribute type.
46
+ attribute_map (dict): The key is attribute name
47
+ and the value is json key in definition.
48
+ """
49
+ swagger_types = {
50
+ }
51
+
52
+ attribute_map = {
53
+ }
54
+
55
+ def __init__(self): # noqa: E501
56
+ """V1ScheduleResourceType - a model defined in Swagger""" # noqa: E501
57
+ self.discriminator = None
58
+
59
+ def to_dict(self) -> dict:
60
+ """Returns the model properties as a dict"""
61
+ result = {}
62
+
63
+ for attr, _ in six.iteritems(self.swagger_types):
64
+ value = getattr(self, attr)
65
+ if isinstance(value, list):
66
+ result[attr] = list(map(
67
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
68
+ value
69
+ ))
70
+ elif hasattr(value, "to_dict"):
71
+ result[attr] = value.to_dict()
72
+ elif isinstance(value, dict):
73
+ result[attr] = dict(map(
74
+ lambda item: (item[0], item[1].to_dict())
75
+ if hasattr(item[1], "to_dict") else item,
76
+ value.items()
77
+ ))
78
+ else:
79
+ result[attr] = value
80
+ if issubclass(V1ScheduleResourceType, dict):
81
+ for key, value in self.items():
82
+ result[key] = value
83
+
84
+ return result
85
+
86
+ def to_str(self) -> str:
87
+ """Returns the string representation of the model"""
88
+ return pprint.pformat(self.to_dict())
89
+
90
+ def __repr__(self) -> str:
91
+ """For `print` and `pprint`"""
92
+ return self.to_str()
93
+
94
+ def __eq__(self, other: 'V1ScheduleResourceType') -> bool:
95
+ """Returns true if both objects are equal"""
96
+ if not isinstance(other, V1ScheduleResourceType):
97
+ return False
98
+
99
+ return self.__dict__ == other.__dict__
100
+
101
+ def __ne__(self, other: 'V1ScheduleResourceType') -> bool:
102
+ """Returns true if both objects are not equal"""
103
+ return not self == other
@@ -0,0 +1,227 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ external/v1/auth_service.proto
5
+
6
+ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
7
+
8
+ OpenAPI spec version: version not set
9
+
10
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
11
+
12
+ NOTE
13
+ ----
14
+ standard swagger-codegen-cli for this python client has been modified
15
+ by custom templates. The purpose of these templates is to include
16
+ typing information in the API and Model code. Please refer to the
17
+ main grid repository for more info
18
+ """
19
+
20
+ import pprint
21
+ import re # noqa: F401
22
+
23
+ from typing import TYPE_CHECKING
24
+
25
+ import six
26
+
27
+ if TYPE_CHECKING:
28
+ from datetime import datetime
29
+ from lightning_sdk.lightning_cloud.openapi.models import *
30
+
31
+ class V1SlurmClusterUser(object):
32
+ """NOTE: This class is auto generated by the swagger code generator program.
33
+
34
+ Do not edit the class manually.
35
+ """
36
+ """
37
+ Attributes:
38
+ swagger_types (dict): The key is attribute name
39
+ and the value is attribute type.
40
+ attribute_map (dict): The key is attribute name
41
+ and the value is json key in definition.
42
+ """
43
+ swagger_types = {
44
+ 'cluster_id': 'str',
45
+ 'home_directory': 'str',
46
+ 'id': 'str',
47
+ 'user_id': 'str',
48
+ 'username': 'str'
49
+ }
50
+
51
+ attribute_map = {
52
+ 'cluster_id': 'clusterId',
53
+ 'home_directory': 'homeDirectory',
54
+ 'id': 'id',
55
+ 'user_id': 'userId',
56
+ 'username': 'username'
57
+ }
58
+
59
+ def __init__(self, cluster_id: 'str' =None, home_directory: 'str' =None, id: 'str' =None, user_id: 'str' =None, username: 'str' =None): # noqa: E501
60
+ """V1SlurmClusterUser - a model defined in Swagger""" # noqa: E501
61
+ self._cluster_id = None
62
+ self._home_directory = None
63
+ self._id = None
64
+ self._user_id = None
65
+ self._username = None
66
+ self.discriminator = None
67
+ if cluster_id is not None:
68
+ self.cluster_id = cluster_id
69
+ if home_directory is not None:
70
+ self.home_directory = home_directory
71
+ if id is not None:
72
+ self.id = id
73
+ if user_id is not None:
74
+ self.user_id = user_id
75
+ if username is not None:
76
+ self.username = username
77
+
78
+ @property
79
+ def cluster_id(self) -> 'str':
80
+ """Gets the cluster_id of this V1SlurmClusterUser. # noqa: E501
81
+
82
+
83
+ :return: The cluster_id of this V1SlurmClusterUser. # noqa: E501
84
+ :rtype: str
85
+ """
86
+ return self._cluster_id
87
+
88
+ @cluster_id.setter
89
+ def cluster_id(self, cluster_id: 'str'):
90
+ """Sets the cluster_id of this V1SlurmClusterUser.
91
+
92
+
93
+ :param cluster_id: The cluster_id of this V1SlurmClusterUser. # noqa: E501
94
+ :type: str
95
+ """
96
+
97
+ self._cluster_id = cluster_id
98
+
99
+ @property
100
+ def home_directory(self) -> 'str':
101
+ """Gets the home_directory of this V1SlurmClusterUser. # noqa: E501
102
+
103
+
104
+ :return: The home_directory of this V1SlurmClusterUser. # noqa: E501
105
+ :rtype: str
106
+ """
107
+ return self._home_directory
108
+
109
+ @home_directory.setter
110
+ def home_directory(self, home_directory: 'str'):
111
+ """Sets the home_directory of this V1SlurmClusterUser.
112
+
113
+
114
+ :param home_directory: The home_directory of this V1SlurmClusterUser. # noqa: E501
115
+ :type: str
116
+ """
117
+
118
+ self._home_directory = home_directory
119
+
120
+ @property
121
+ def id(self) -> 'str':
122
+ """Gets the id of this V1SlurmClusterUser. # noqa: E501
123
+
124
+
125
+ :return: The id of this V1SlurmClusterUser. # noqa: E501
126
+ :rtype: str
127
+ """
128
+ return self._id
129
+
130
+ @id.setter
131
+ def id(self, id: 'str'):
132
+ """Sets the id of this V1SlurmClusterUser.
133
+
134
+
135
+ :param id: The id of this V1SlurmClusterUser. # noqa: E501
136
+ :type: str
137
+ """
138
+
139
+ self._id = id
140
+
141
+ @property
142
+ def user_id(self) -> 'str':
143
+ """Gets the user_id of this V1SlurmClusterUser. # noqa: E501
144
+
145
+
146
+ :return: The user_id of this V1SlurmClusterUser. # noqa: E501
147
+ :rtype: str
148
+ """
149
+ return self._user_id
150
+
151
+ @user_id.setter
152
+ def user_id(self, user_id: 'str'):
153
+ """Sets the user_id of this V1SlurmClusterUser.
154
+
155
+
156
+ :param user_id: The user_id of this V1SlurmClusterUser. # noqa: E501
157
+ :type: str
158
+ """
159
+
160
+ self._user_id = user_id
161
+
162
+ @property
163
+ def username(self) -> 'str':
164
+ """Gets the username of this V1SlurmClusterUser. # noqa: E501
165
+
166
+
167
+ :return: The username of this V1SlurmClusterUser. # noqa: E501
168
+ :rtype: str
169
+ """
170
+ return self._username
171
+
172
+ @username.setter
173
+ def username(self, username: 'str'):
174
+ """Sets the username of this V1SlurmClusterUser.
175
+
176
+
177
+ :param username: The username of this V1SlurmClusterUser. # noqa: E501
178
+ :type: str
179
+ """
180
+
181
+ self._username = username
182
+
183
+ def to_dict(self) -> dict:
184
+ """Returns the model properties as a dict"""
185
+ result = {}
186
+
187
+ for attr, _ in six.iteritems(self.swagger_types):
188
+ value = getattr(self, attr)
189
+ if isinstance(value, list):
190
+ result[attr] = list(map(
191
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
192
+ value
193
+ ))
194
+ elif hasattr(value, "to_dict"):
195
+ result[attr] = value.to_dict()
196
+ elif isinstance(value, dict):
197
+ result[attr] = dict(map(
198
+ lambda item: (item[0], item[1].to_dict())
199
+ if hasattr(item[1], "to_dict") else item,
200
+ value.items()
201
+ ))
202
+ else:
203
+ result[attr] = value
204
+ if issubclass(V1SlurmClusterUser, dict):
205
+ for key, value in self.items():
206
+ result[key] = value
207
+
208
+ return result
209
+
210
+ def to_str(self) -> str:
211
+ """Returns the string representation of the model"""
212
+ return pprint.pformat(self.to_dict())
213
+
214
+ def __repr__(self) -> str:
215
+ """For `print` and `pprint`"""
216
+ return self.to_str()
217
+
218
+ def __eq__(self, other: 'V1SlurmClusterUser') -> bool:
219
+ """Returns true if both objects are equal"""
220
+ if not isinstance(other, V1SlurmClusterUser):
221
+ return False
222
+
223
+ return self.__dict__ == other.__dict__
224
+
225
+ def __ne__(self, other: 'V1SlurmClusterUser') -> bool:
226
+ """Returns true if both objects are not equal"""
227
+ return not self == other
@@ -46,13 +46,15 @@ class V1SLURMJob(object):
46
46
  'cluster_id': 'str',
47
47
  'command': 'str',
48
48
  'created_at': 'datetime',
49
+ 'entrypoint': 'str',
49
50
  'id': 'str',
50
51
  'image': 'str',
51
52
  'linked_project_id': 'str',
52
53
  'linked_user_id': 'str',
53
54
  'message': 'str',
54
55
  'name': 'str',
55
- 'num_gpus': 'str',
56
+ 'num_gpus': 'int',
57
+ 'partition': 'str',
56
58
  'project_id': 'str',
57
59
  'run_id': 'str',
58
60
  'service_id': 'str',
@@ -72,6 +74,7 @@ class V1SLURMJob(object):
72
74
  'cluster_id': 'clusterId',
73
75
  'command': 'command',
74
76
  'created_at': 'createdAt',
77
+ 'entrypoint': 'entrypoint',
75
78
  'id': 'id',
76
79
  'image': 'image',
77
80
  'linked_project_id': 'linkedProjectId',
@@ -79,6 +82,7 @@ class V1SLURMJob(object):
79
82
  'message': 'message',
80
83
  'name': 'name',
81
84
  'num_gpus': 'numGpus',
85
+ 'partition': 'partition',
82
86
  'project_id': 'projectId',
83
87
  'run_id': 'runId',
84
88
  'service_id': 'serviceId',
@@ -92,13 +96,14 @@ class V1SLURMJob(object):
92
96
  'work_dir': 'workDir'
93
97
  }
94
98
 
95
- def __init__(self, cache_id: 'str' =None, cloudspace_id: 'str' =None, cluster_id: 'str' =None, command: 'str' =None, created_at: 'datetime' =None, id: 'str' =None, image: 'str' =None, linked_project_id: 'str' =None, linked_user_id: 'str' =None, message: 'str' =None, name: 'str' =None, num_gpus: 'str' =None, project_id: 'str' =None, run_id: 'str' =None, service_id: 'str' =None, slurm_v1_status: 'V1SlurmV1JobStatus' =None, state: 'str' =None, updated_at: 'datetime' =None, upload_eta_seconds: 'str' =None, upload_in_progress: 'bool' =None, upload_percentage: 'str' =None, user_id: 'str' =None, work_dir: 'str' =None): # noqa: E501
99
+ def __init__(self, cache_id: 'str' =None, cloudspace_id: 'str' =None, cluster_id: 'str' =None, command: 'str' =None, created_at: 'datetime' =None, entrypoint: 'str' =None, id: 'str' =None, image: 'str' =None, linked_project_id: 'str' =None, linked_user_id: 'str' =None, message: 'str' =None, name: 'str' =None, num_gpus: 'int' =None, partition: 'str' =None, project_id: 'str' =None, run_id: 'str' =None, service_id: 'str' =None, slurm_v1_status: 'V1SlurmV1JobStatus' =None, state: 'str' =None, updated_at: 'datetime' =None, upload_eta_seconds: 'str' =None, upload_in_progress: 'bool' =None, upload_percentage: 'str' =None, user_id: 'str' =None, work_dir: 'str' =None): # noqa: E501
96
100
  """V1SLURMJob - a model defined in Swagger""" # noqa: E501
97
101
  self._cache_id = None
98
102
  self._cloudspace_id = None
99
103
  self._cluster_id = None
100
104
  self._command = None
101
105
  self._created_at = None
106
+ self._entrypoint = None
102
107
  self._id = None
103
108
  self._image = None
104
109
  self._linked_project_id = None
@@ -106,6 +111,7 @@ class V1SLURMJob(object):
106
111
  self._message = None
107
112
  self._name = None
108
113
  self._num_gpus = None
114
+ self._partition = None
109
115
  self._project_id = None
110
116
  self._run_id = None
111
117
  self._service_id = None
@@ -128,6 +134,8 @@ class V1SLURMJob(object):
128
134
  self.command = command
129
135
  if created_at is not None:
130
136
  self.created_at = created_at
137
+ if entrypoint is not None:
138
+ self.entrypoint = entrypoint
131
139
  if id is not None:
132
140
  self.id = id
133
141
  if image is not None:
@@ -142,6 +150,8 @@ class V1SLURMJob(object):
142
150
  self.name = name
143
151
  if num_gpus is not None:
144
152
  self.num_gpus = num_gpus
153
+ if partition is not None:
154
+ self.partition = partition
145
155
  if project_id is not None:
146
156
  self.project_id = project_id
147
157
  if run_id is not None:
@@ -270,6 +280,27 @@ class V1SLURMJob(object):
270
280
 
271
281
  self._created_at = created_at
272
282
 
283
+ @property
284
+ def entrypoint(self) -> 'str':
285
+ """Gets the entrypoint of this V1SLURMJob. # noqa: E501
286
+
287
+
288
+ :return: The entrypoint of this V1SLURMJob. # noqa: E501
289
+ :rtype: str
290
+ """
291
+ return self._entrypoint
292
+
293
+ @entrypoint.setter
294
+ def entrypoint(self, entrypoint: 'str'):
295
+ """Sets the entrypoint of this V1SLURMJob.
296
+
297
+
298
+ :param entrypoint: The entrypoint of this V1SLURMJob. # noqa: E501
299
+ :type: str
300
+ """
301
+
302
+ self._entrypoint = entrypoint
303
+
273
304
  @property
274
305
  def id(self) -> 'str':
275
306
  """Gets the id of this V1SLURMJob. # noqa: E501
@@ -397,26 +428,47 @@ class V1SLURMJob(object):
397
428
  self._name = name
398
429
 
399
430
  @property
400
- def num_gpus(self) -> 'str':
431
+ def num_gpus(self) -> 'int':
401
432
  """Gets the num_gpus of this V1SLURMJob. # noqa: E501
402
433
 
403
434
 
404
435
  :return: The num_gpus of this V1SLURMJob. # noqa: E501
405
- :rtype: str
436
+ :rtype: int
406
437
  """
407
438
  return self._num_gpus
408
439
 
409
440
  @num_gpus.setter
410
- def num_gpus(self, num_gpus: 'str'):
441
+ def num_gpus(self, num_gpus: 'int'):
411
442
  """Sets the num_gpus of this V1SLURMJob.
412
443
 
413
444
 
414
445
  :param num_gpus: The num_gpus of this V1SLURMJob. # noqa: E501
415
- :type: str
446
+ :type: int
416
447
  """
417
448
 
418
449
  self._num_gpus = num_gpus
419
450
 
451
+ @property
452
+ def partition(self) -> 'str':
453
+ """Gets the partition of this V1SLURMJob. # noqa: E501
454
+
455
+
456
+ :return: The partition of this V1SLURMJob. # noqa: E501
457
+ :rtype: str
458
+ """
459
+ return self._partition
460
+
461
+ @partition.setter
462
+ def partition(self, partition: 'str'):
463
+ """Sets the partition of this V1SLURMJob.
464
+
465
+
466
+ :param partition: The partition of this V1SLURMJob. # noqa: E501
467
+ :type: str
468
+ """
469
+
470
+ self._partition = partition
471
+
420
472
  @property
421
473
  def project_id(self) -> 'str':
422
474
  """Gets the project_id of this V1SLURMJob. # noqa: E501