qi-compute-api-client 0.7.0__py3-none-any.whl → 0.17.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 qi-compute-api-client might be problematic. Click here for more details.

Files changed (165) hide show
  1. compute_api_client/__init__.py +22 -19
  2. compute_api_client/api/__init__.py +5 -6
  3. compute_api_client/api/algorithms_api.py +1333 -553
  4. compute_api_client/api/backend_api.py +1501 -0
  5. compute_api_client/api/backend_types_api.py +684 -0
  6. compute_api_client/api/batch_jobs_api.py +1937 -0
  7. compute_api_client/api/commits_api.py +1068 -435
  8. compute_api_client/api/files_api.py +1075 -435
  9. compute_api_client/api/final_results_api.py +736 -338
  10. compute_api_client/api/jobs_api.py +1653 -0
  11. compute_api_client/api/languages_api.py +556 -217
  12. compute_api_client/api/members_api.py +1057 -435
  13. compute_api_client/api/metadata_api.py +736 -337
  14. compute_api_client/api/permissions_api.py +1055 -421
  15. compute_api_client/api/projects_api.py +1604 -676
  16. compute_api_client/api/reservations_api.py +1124 -427
  17. compute_api_client/api/results_api.py +738 -337
  18. compute_api_client/api/teams_api.py +567 -220
  19. compute_api_client/api/transactions_api.py +679 -218
  20. compute_api_client/api/users_api.py +1090 -435
  21. compute_api_client/api_client.py +346 -304
  22. compute_api_client/api_response.py +21 -0
  23. compute_api_client/configuration.py +54 -67
  24. compute_api_client/docs/Algorithm.md +20 -3
  25. compute_api_client/docs/AlgorithmIn.md +20 -3
  26. compute_api_client/docs/AlgorithmType.md +0 -1
  27. compute_api_client/docs/AlgorithmsApi.md +78 -77
  28. compute_api_client/docs/Backend.md +33 -0
  29. compute_api_client/docs/BackendApi.md +419 -0
  30. compute_api_client/docs/BackendPatch.md +29 -0
  31. compute_api_client/docs/{RunStatus.md → BackendStatus.md} +1 -2
  32. compute_api_client/docs/BackendType.md +36 -0
  33. compute_api_client/docs/{RuntimeTypesApi.md → BackendTypesApi.md} +58 -31
  34. compute_api_client/docs/BackendWithAuthentication.md +34 -0
  35. compute_api_client/docs/BatchJob.md +38 -0
  36. compute_api_client/docs/BatchJobIn.md +29 -0
  37. compute_api_client/docs/{RuntimeStatus.md → BatchJobStatus.md} +1 -2
  38. compute_api_client/docs/{BatchRunsApi.md → BatchJobsApi.md} +170 -147
  39. compute_api_client/docs/Commit.md +18 -1
  40. compute_api_client/docs/CommitIn.md +17 -0
  41. compute_api_client/docs/CommitsApi.md +62 -71
  42. compute_api_client/docs/CompileStage.md +0 -1
  43. compute_api_client/docs/Domain.md +0 -1
  44. compute_api_client/docs/File.md +21 -4
  45. compute_api_client/docs/FileIn.md +21 -4
  46. compute_api_client/docs/FilesApi.md +65 -71
  47. compute_api_client/docs/FinalResult.md +20 -3
  48. compute_api_client/docs/FinalResultIn.md +19 -2
  49. compute_api_client/docs/FinalResultsApi.md +44 -71
  50. compute_api_client/docs/HTTPNotFoundError.md +17 -0
  51. compute_api_client/docs/HTTPValidationError.md +18 -1
  52. compute_api_client/docs/Job.md +36 -0
  53. compute_api_client/docs/JobIn.md +31 -0
  54. compute_api_client/docs/JobPatch.md +28 -0
  55. compute_api_client/docs/{BatchRunStatus.md → JobStatus.md} +1 -2
  56. compute_api_client/docs/{RunsApi.md → JobsApi.md} +137 -122
  57. compute_api_client/docs/Language.md +17 -0
  58. compute_api_client/docs/LanguagesApi.md +30 -12
  59. compute_api_client/docs/LocationInner.md +17 -0
  60. compute_api_client/docs/Member.md +19 -2
  61. compute_api_client/docs/MemberIn.md +19 -2
  62. compute_api_client/docs/MembersApi.md +59 -24
  63. compute_api_client/docs/Metadata.md +20 -3
  64. compute_api_client/docs/MetadataApi.md +49 -33
  65. compute_api_client/docs/MetadataIn.md +19 -2
  66. compute_api_client/docs/Permission.md +17 -0
  67. compute_api_client/docs/PermissionGroup.md +17 -0
  68. compute_api_client/docs/PermissionsApi.md +68 -28
  69. compute_api_client/docs/Project.md +20 -3
  70. compute_api_client/docs/ProjectIn.md +18 -1
  71. compute_api_client/docs/ProjectPatch.md +19 -2
  72. compute_api_client/docs/ProjectsApi.md +84 -36
  73. compute_api_client/docs/Reservation.md +21 -4
  74. compute_api_client/docs/ReservationIn.md +19 -2
  75. compute_api_client/docs/ReservationsApi.md +66 -24
  76. compute_api_client/docs/Result.md +23 -6
  77. compute_api_client/docs/ResultIn.md +19 -2
  78. compute_api_client/docs/ResultsApi.md +42 -26
  79. compute_api_client/docs/Role.md +0 -1
  80. compute_api_client/docs/ShareType.md +0 -1
  81. compute_api_client/docs/Team.md +18 -1
  82. compute_api_client/docs/TeamsApi.md +37 -14
  83. compute_api_client/docs/Transaction.md +21 -4
  84. compute_api_client/docs/TransactionsApi.md +50 -14
  85. compute_api_client/docs/User.md +21 -4
  86. compute_api_client/docs/UserIn.md +17 -0
  87. compute_api_client/docs/UsersApi.md +62 -24
  88. compute_api_client/docs/ValidationError.md +18 -1
  89. compute_api_client/exceptions.py +19 -16
  90. compute_api_client/models/__init__.py +16 -14
  91. compute_api_client/models/algorithm.py +78 -237
  92. compute_api_client/models/algorithm_in.py +76 -204
  93. compute_api_client/models/algorithm_type.py +21 -87
  94. compute_api_client/models/backend.py +100 -0
  95. compute_api_client/models/backend_patch.py +90 -0
  96. compute_api_client/models/backend_status.py +47 -0
  97. compute_api_client/models/backend_type.py +105 -0
  98. compute_api_client/models/backend_with_authentication.py +102 -0
  99. compute_api_client/models/batch_job.py +129 -0
  100. compute_api_client/models/batch_job_in.py +89 -0
  101. compute_api_client/models/batch_job_status.py +48 -0
  102. compute_api_client/models/commit.py +72 -230
  103. compute_api_client/models/commit_in.py +67 -169
  104. compute_api_client/models/compile_stage.py +23 -89
  105. compute_api_client/models/domain.py +22 -88
  106. compute_api_client/models/file.py +74 -288
  107. compute_api_client/models/file_in.py +72 -254
  108. compute_api_client/models/final_result.py +68 -198
  109. compute_api_client/models/final_result_in.py +63 -137
  110. compute_api_client/models/http_not_found_error.py +60 -105
  111. compute_api_client/models/http_validation_error.py +69 -105
  112. compute_api_client/models/job.py +120 -0
  113. compute_api_client/models/job_in.py +99 -0
  114. compute_api_client/models/job_patch.py +88 -0
  115. compute_api_client/models/job_status.py +48 -0
  116. compute_api_client/models/language.py +67 -172
  117. compute_api_client/models/location_inner.py +125 -84
  118. compute_api_client/models/member.py +70 -236
  119. compute_api_client/models/member_in.py +68 -203
  120. compute_api_client/models/metadata.py +68 -198
  121. compute_api_client/models/metadata_in.py +68 -137
  122. compute_api_client/models/permission.py +67 -172
  123. compute_api_client/models/permission_group.py +65 -142
  124. compute_api_client/models/project.py +74 -256
  125. compute_api_client/models/project_in.py +69 -195
  126. compute_api_client/models/project_patch.py +89 -192
  127. compute_api_client/models/reservation.py +79 -290
  128. compute_api_client/models/reservation_in.py +68 -200
  129. compute_api_client/models/result.py +101 -359
  130. compute_api_client/models/result_in.py +95 -291
  131. compute_api_client/models/role.py +21 -87
  132. compute_api_client/models/share_type.py +22 -88
  133. compute_api_client/models/team.py +69 -198
  134. compute_api_client/models/transaction.py +93 -299
  135. compute_api_client/models/user.py +75 -276
  136. compute_api_client/models/user_in.py +73 -243
  137. compute_api_client/models/validation_error.py +73 -160
  138. compute_api_client/rest.py +55 -114
  139. {qi_compute_api_client-0.7.0.dist-info → qi_compute_api_client-0.17.0.dist-info}/METADATA +47 -40
  140. qi_compute_api_client-0.17.0.dist-info/RECORD +142 -0
  141. compute_api_client/api/batch_runs_api.py +0 -862
  142. compute_api_client/api/runs_api.py +0 -723
  143. compute_api_client/api/runtime_api.py +0 -449
  144. compute_api_client/api/runtime_types_api.py +0 -303
  145. compute_api_client/docs/BatchRun.md +0 -21
  146. compute_api_client/docs/BatchRunIn.md +0 -12
  147. compute_api_client/docs/Run.md +0 -19
  148. compute_api_client/docs/RunIn.md +0 -14
  149. compute_api_client/docs/Runtime.md +0 -16
  150. compute_api_client/docs/RuntimeApi.md +0 -229
  151. compute_api_client/docs/RuntimeType.md +0 -19
  152. compute_api_client/docs/RuntimeWithAuthentication.md +0 -17
  153. compute_api_client/models/batch_run.py +0 -423
  154. compute_api_client/models/batch_run_in.py +0 -171
  155. compute_api_client/models/batch_run_status.py +0 -114
  156. compute_api_client/models/run.py +0 -376
  157. compute_api_client/models/run_in.py +0 -233
  158. compute_api_client/models/run_status.py +0 -114
  159. compute_api_client/models/runtime.py +0 -290
  160. compute_api_client/models/runtime_status.py +0 -113
  161. compute_api_client/models/runtime_type.py +0 -357
  162. compute_api_client/models/runtime_with_authentication.py +0 -320
  163. qi_compute_api_client-0.7.0.dist-info/RECORD +0 -137
  164. {qi_compute_api_client-0.7.0.dist-info → qi_compute_api_client-0.17.0.dist-info}/LICENSE.md +0 -0
  165. {qi_compute_api_client-0.7.0.dist-info → qi_compute_api_client-0.17.0.dist-info}/WHEEL +0 -0
@@ -4,11 +4,28 @@
4
4
  ## Properties
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **created_on** | **datetime** | | [readonly]
8
7
  **id** | **int** | |
9
- **final_result** | **object** | | [optional]
10
- **run_id** | **int** | |
8
+ **created_on** | **datetime** | |
9
+ **job_id** | **int** | |
10
+ **final_result** | **object** | |
11
11
 
12
+ ## Example
13
+
14
+ ```python
15
+ from compute_api_client.models.final_result import FinalResult
16
+
17
+ # TODO update the JSON string below
18
+ json = "{}"
19
+ # create an instance of FinalResult from a JSON string
20
+ final_result_instance = FinalResult.from_json(json)
21
+ # print the JSON string representation of the object
22
+ print FinalResult.to_json()
23
+
24
+ # convert the object into a dict
25
+ final_result_dict = final_result_instance.to_dict()
26
+ # create an instance of FinalResult from a dict
27
+ final_result_form_dict = final_result.from_dict(final_result_dict)
28
+ ```
12
29
  [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
13
30
 
14
31
 
@@ -4,9 +4,26 @@
4
4
  ## Properties
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **final_result** | **object** | | [optional]
8
- **run_id** | **int** | |
7
+ **job_id** | **int** | |
8
+ **final_result** | **object** | |
9
9
 
10
+ ## Example
11
+
12
+ ```python
13
+ from compute_api_client.models.final_result_in import FinalResultIn
14
+
15
+ # TODO update the JSON string below
16
+ json = "{}"
17
+ # create an instance of FinalResultIn from a JSON string
18
+ final_result_in_instance = FinalResultIn.from_json(json)
19
+ # print the JSON string representation of the object
20
+ print FinalResultIn.to_json()
21
+
22
+ # convert the object into a dict
23
+ final_result_in_dict = final_result_in_instance.to_dict()
24
+ # create an instance of FinalResultIn from a dict
25
+ final_result_in_form_dict = final_result_in.from_dict(final_result_in_dict)
26
+ ```
10
27
  [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
11
28
 
12
29
 
@@ -5,7 +5,7 @@ All URIs are relative to *http://localhost*
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
7
  [**create_final_result_final_results_post**](FinalResultsApi.md#create_final_result_final_results_post) | **POST** /final_results | Create final result
8
- [**read_final_result_by_run_id_final_results_run_run_id_get**](FinalResultsApi.md#read_final_result_by_run_id_final_results_run_run_id_get) | **GET** /final_results/run/{run_id} | Retrieve final result by run ID
8
+ [**read_final_result_by_job_id_final_results_job_job_id_get**](FinalResultsApi.md#read_final_result_by_job_id_final_results_job_job_id_get) | **GET** /final_results/job/{job_id} | Retrieve final result by job ID
9
9
  [**read_final_result_final_results_id_get**](FinalResultsApi.md#read_final_result_final_results_id_get) | **GET** /final_results/{id} | Retrieve final result
10
10
 
11
11
 
@@ -18,13 +18,17 @@ Create new final result.
18
18
 
19
19
  ### Example
20
20
 
21
- * Api Key Authentication (runtime):
21
+ * Api Key Authentication (backend):
22
+ * Api Key Authentication (user):
22
23
  ```python
23
- from __future__ import print_function
24
24
  import time
25
+ import os
25
26
  import compute_api_client
27
+ from compute_api_client.models.final_result import FinalResult
28
+ from compute_api_client.models.final_result_in import FinalResultIn
26
29
  from compute_api_client.rest import ApiException
27
30
  from pprint import pprint
31
+
28
32
  # Defining the host is optional and defaults to http://localhost
29
33
  # See configuration.py for a list of all supported configuration parameters.
30
34
  configuration = compute_api_client.Configuration(
@@ -36,75 +40,34 @@ configuration = compute_api_client.Configuration(
36
40
  # Examples for each auth method are provided below, use the example that
37
41
  # satisfies your auth use case.
38
42
 
39
- # Configure API key authorization: runtime
40
- configuration.api_key['runtime'] = 'YOUR_API_KEY'
43
+ # Configure API key authorization: backend
44
+ configuration.api_key['backend'] = os.environ["API_KEY"]
41
45
 
42
46
  # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
43
- # configuration.api_key_prefix['runtime'] = 'Bearer'
47
+ # configuration.api_key_prefix['backend'] = 'Bearer'
44
48
 
45
49
  # Configure API key authorization: user
46
- configuration.api_key['user'] = 'YOUR_API_KEY'
50
+ configuration.api_key['user'] = os.environ["API_KEY"]
47
51
 
48
52
  # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
49
53
  # configuration.api_key_prefix['user'] = 'Bearer'
50
54
 
51
55
  # Enter a context with an instance of the API client
52
- with compute_api_client.ApiClient(configuration) as api_client:
56
+ async with compute_api_client.ApiClient(configuration) as api_client:
53
57
  # Create an instance of the API class
54
58
  api_instance = compute_api_client.FinalResultsApi(api_client)
55
59
  final_result_in = compute_api_client.FinalResultIn() # FinalResultIn |
56
60
 
57
61
  try:
58
62
  # Create final result
59
- api_response = api_instance.create_final_result_final_results_post(final_result_in)
63
+ api_response = await api_instance.create_final_result_final_results_post(final_result_in)
64
+ print("The response of FinalResultsApi->create_final_result_final_results_post:\n")
60
65
  pprint(api_response)
61
- except ApiException as e:
66
+ except Exception as e:
62
67
  print("Exception when calling FinalResultsApi->create_final_result_final_results_post: %s\n" % e)
63
68
  ```
64
69
 
65
- * Api Key Authentication (user):
66
- ```python
67
- from __future__ import print_function
68
- import time
69
- import compute_api_client
70
- from compute_api_client.rest import ApiException
71
- from pprint import pprint
72
- # Defining the host is optional and defaults to http://localhost
73
- # See configuration.py for a list of all supported configuration parameters.
74
- configuration = compute_api_client.Configuration(
75
- host = "http://localhost"
76
- )
77
-
78
- # The client must configure the authentication and authorization parameters
79
- # in accordance with the API server security policy.
80
- # Examples for each auth method are provided below, use the example that
81
- # satisfies your auth use case.
82
-
83
- # Configure API key authorization: runtime
84
- configuration.api_key['runtime'] = 'YOUR_API_KEY'
85
-
86
- # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
87
- # configuration.api_key_prefix['runtime'] = 'Bearer'
88
-
89
- # Configure API key authorization: user
90
- configuration.api_key['user'] = 'YOUR_API_KEY'
91
70
 
92
- # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
93
- # configuration.api_key_prefix['user'] = 'Bearer'
94
-
95
- # Enter a context with an instance of the API client
96
- with compute_api_client.ApiClient(configuration) as api_client:
97
- # Create an instance of the API class
98
- api_instance = compute_api_client.FinalResultsApi(api_client)
99
- final_result_in = compute_api_client.FinalResultIn() # FinalResultIn |
100
-
101
- try:
102
- # Create final result
103
- api_response = api_instance.create_final_result_final_results_post(final_result_in)
104
- pprint(api_response)
105
- except ApiException as e:
106
- print("Exception when calling FinalResultsApi->create_final_result_final_results_post: %s\n" % e)
107
- ```
108
71
 
109
72
  ### Parameters
110
73
 
@@ -118,7 +81,7 @@ Name | Type | Description | Notes
118
81
 
119
82
  ### Authorization
120
83
 
121
- [runtime](../README.md#runtime), [user](../README.md#user)
84
+ [backend](../README.md#backend), [user](../README.md#user)
122
85
 
123
86
  ### HTTP request headers
124
87
 
@@ -133,22 +96,24 @@ Name | Type | Description | Notes
133
96
 
134
97
  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
135
98
 
136
- # **read_final_result_by_run_id_final_results_run_run_id_get**
137
- > FinalResult read_final_result_by_run_id_final_results_run_run_id_get(run_id)
99
+ # **read_final_result_by_job_id_final_results_job_job_id_get**
100
+ > FinalResult read_final_result_by_job_id_final_results_job_job_id_get(job_id)
138
101
 
139
- Retrieve final result by run ID
102
+ Retrieve final result by job ID
140
103
 
141
- Get final result by run ID.
104
+ Get final result by job ID.
142
105
 
143
106
  ### Example
144
107
 
145
108
  * Api Key Authentication (user):
146
109
  ```python
147
- from __future__ import print_function
148
110
  import time
111
+ import os
149
112
  import compute_api_client
113
+ from compute_api_client.models.final_result import FinalResult
150
114
  from compute_api_client.rest import ApiException
151
115
  from pprint import pprint
116
+
152
117
  # Defining the host is optional and defaults to http://localhost
153
118
  # See configuration.py for a list of all supported configuration parameters.
154
119
  configuration = compute_api_client.Configuration(
@@ -161,30 +126,33 @@ configuration = compute_api_client.Configuration(
161
126
  # satisfies your auth use case.
162
127
 
163
128
  # Configure API key authorization: user
164
- configuration.api_key['user'] = 'YOUR_API_KEY'
129
+ configuration.api_key['user'] = os.environ["API_KEY"]
165
130
 
166
131
  # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
167
132
  # configuration.api_key_prefix['user'] = 'Bearer'
168
133
 
169
134
  # Enter a context with an instance of the API client
170
- with compute_api_client.ApiClient(configuration) as api_client:
135
+ async with compute_api_client.ApiClient(configuration) as api_client:
171
136
  # Create an instance of the API class
172
137
  api_instance = compute_api_client.FinalResultsApi(api_client)
173
- run_id = 56 # int |
138
+ job_id = 56 # int |
174
139
 
175
140
  try:
176
- # Retrieve final result by run ID
177
- api_response = api_instance.read_final_result_by_run_id_final_results_run_run_id_get(run_id)
141
+ # Retrieve final result by job ID
142
+ api_response = await api_instance.read_final_result_by_job_id_final_results_job_job_id_get(job_id)
143
+ print("The response of FinalResultsApi->read_final_result_by_job_id_final_results_job_job_id_get:\n")
178
144
  pprint(api_response)
179
- except ApiException as e:
180
- print("Exception when calling FinalResultsApi->read_final_result_by_run_id_final_results_run_run_id_get: %s\n" % e)
145
+ except Exception as e:
146
+ print("Exception when calling FinalResultsApi->read_final_result_by_job_id_final_results_job_job_id_get: %s\n" % e)
181
147
  ```
182
148
 
149
+
150
+
183
151
  ### Parameters
184
152
 
185
153
  Name | Type | Description | Notes
186
154
  ------------- | ------------- | ------------- | -------------
187
- **run_id** | **int**| |
155
+ **job_id** | **int**| |
188
156
 
189
157
  ### Return type
190
158
 
@@ -218,11 +186,13 @@ Get final result by ID.
218
186
 
219
187
  * Api Key Authentication (user):
220
188
  ```python
221
- from __future__ import print_function
222
189
  import time
190
+ import os
223
191
  import compute_api_client
192
+ from compute_api_client.models.final_result import FinalResult
224
193
  from compute_api_client.rest import ApiException
225
194
  from pprint import pprint
195
+
226
196
  # Defining the host is optional and defaults to http://localhost
227
197
  # See configuration.py for a list of all supported configuration parameters.
228
198
  configuration = compute_api_client.Configuration(
@@ -235,25 +205,28 @@ configuration = compute_api_client.Configuration(
235
205
  # satisfies your auth use case.
236
206
 
237
207
  # Configure API key authorization: user
238
- configuration.api_key['user'] = 'YOUR_API_KEY'
208
+ configuration.api_key['user'] = os.environ["API_KEY"]
239
209
 
240
210
  # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
241
211
  # configuration.api_key_prefix['user'] = 'Bearer'
242
212
 
243
213
  # Enter a context with an instance of the API client
244
- with compute_api_client.ApiClient(configuration) as api_client:
214
+ async with compute_api_client.ApiClient(configuration) as api_client:
245
215
  # Create an instance of the API class
246
216
  api_instance = compute_api_client.FinalResultsApi(api_client)
247
217
  id = 56 # int |
248
218
 
249
219
  try:
250
220
  # Retrieve final result
251
- api_response = api_instance.read_final_result_final_results_id_get(id)
221
+ api_response = await api_instance.read_final_result_final_results_id_get(id)
222
+ print("The response of FinalResultsApi->read_final_result_final_results_id_get:\n")
252
223
  pprint(api_response)
253
- except ApiException as e:
224
+ except Exception as e:
254
225
  print("Exception when calling FinalResultsApi->read_final_result_final_results_id_get: %s\n" % e)
255
226
  ```
256
227
 
228
+
229
+
257
230
  ### Parameters
258
231
 
259
232
  Name | Type | Description | Notes
@@ -6,6 +6,23 @@ Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **detail** | **str** | |
8
8
 
9
+ ## Example
10
+
11
+ ```python
12
+ from compute_api_client.models.http_not_found_error import HTTPNotFoundError
13
+
14
+ # TODO update the JSON string below
15
+ json = "{}"
16
+ # create an instance of HTTPNotFoundError from a JSON string
17
+ http_not_found_error_instance = HTTPNotFoundError.from_json(json)
18
+ # print the JSON string representation of the object
19
+ print HTTPNotFoundError.to_json()
20
+
21
+ # convert the object into a dict
22
+ http_not_found_error_dict = http_not_found_error_instance.to_dict()
23
+ # create an instance of HTTPNotFoundError from a dict
24
+ http_not_found_error_form_dict = http_not_found_error.from_dict(http_not_found_error_dict)
25
+ ```
9
26
  [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
10
27
 
11
28
 
@@ -4,8 +4,25 @@
4
4
  ## Properties
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **detail** | [**list[ValidationError]**](ValidationError.md) | | [optional]
7
+ **detail** | [**List[ValidationError]**](ValidationError.md) | | [optional]
8
8
 
9
+ ## Example
10
+
11
+ ```python
12
+ from compute_api_client.models.http_validation_error import HTTPValidationError
13
+
14
+ # TODO update the JSON string below
15
+ json = "{}"
16
+ # create an instance of HTTPValidationError from a JSON string
17
+ http_validation_error_instance = HTTPValidationError.from_json(json)
18
+ # print the JSON string representation of the object
19
+ print HTTPValidationError.to_json()
20
+
21
+ # convert the object into a dict
22
+ http_validation_error_dict = http_validation_error_instance.to_dict()
23
+ # create an instance of HTTPValidationError from a dict
24
+ http_validation_error_form_dict = http_validation_error.from_dict(http_validation_error_dict)
25
+ ```
9
26
  [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
10
27
 
11
28
 
@@ -0,0 +1,36 @@
1
+ # Job
2
+
3
+
4
+ ## Properties
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **id** | **int** | |
8
+ **created_on** | **datetime** | |
9
+ **file_id** | **int** | |
10
+ **algorithm_type** | [**AlgorithmType**](AlgorithmType.md) | |
11
+ **status** | [**JobStatus**](JobStatus.md) | |
12
+ **batch_job_id** | **int** | |
13
+ **queued_at** | **datetime** | |
14
+ **finished_at** | **datetime** | |
15
+ **number_of_shots** | **int** | |
16
+
17
+ ## Example
18
+
19
+ ```python
20
+ from compute_api_client.models.job import Job
21
+
22
+ # TODO update the JSON string below
23
+ json = "{}"
24
+ # create an instance of Job from a JSON string
25
+ job_instance = Job.from_json(json)
26
+ # print the JSON string representation of the object
27
+ print Job.to_json()
28
+
29
+ # convert the object into a dict
30
+ job_dict = job_instance.to_dict()
31
+ # create an instance of Job from a dict
32
+ job_form_dict = job.from_dict(job_dict)
33
+ ```
34
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
35
+
36
+
@@ -0,0 +1,31 @@
1
+ # JobIn
2
+
3
+
4
+ ## Properties
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **file_id** | **int** | |
8
+ **status** | [**JobStatus**](JobStatus.md) | | [optional]
9
+ **batch_job_id** | **int** | |
10
+ **number_of_shots** | **int** | | [optional]
11
+
12
+ ## Example
13
+
14
+ ```python
15
+ from compute_api_client.models.job_in import JobIn
16
+
17
+ # TODO update the JSON string below
18
+ json = "{}"
19
+ # create an instance of JobIn from a JSON string
20
+ job_in_instance = JobIn.from_json(json)
21
+ # print the JSON string representation of the object
22
+ print JobIn.to_json()
23
+
24
+ # convert the object into a dict
25
+ job_in_dict = job_in_instance.to_dict()
26
+ # create an instance of JobIn from a dict
27
+ job_in_form_dict = job_in.from_dict(job_in_dict)
28
+ ```
29
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
30
+
31
+
@@ -0,0 +1,28 @@
1
+ # JobPatch
2
+
3
+
4
+ ## Properties
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **status** | [**JobStatus**](JobStatus.md) | |
8
+
9
+ ## Example
10
+
11
+ ```python
12
+ from compute_api_client.models.job_patch import JobPatch
13
+
14
+ # TODO update the JSON string below
15
+ json = "{}"
16
+ # create an instance of JobPatch from a JSON string
17
+ job_patch_instance = JobPatch.from_json(json)
18
+ # print the JSON string representation of the object
19
+ print JobPatch.to_json()
20
+
21
+ # convert the object into a dict
22
+ job_patch_dict = job_patch_instance.to_dict()
23
+ # create an instance of JobPatch from a dict
24
+ job_patch_form_dict = job_patch.from_dict(job_patch_dict)
25
+ ```
26
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
27
+
28
+
@@ -1,6 +1,5 @@
1
- # BatchRunStatus
1
+ # JobStatus
2
2
 
3
- An enumeration.
4
3
 
5
4
  ## Properties
6
5
  Name | Type | Description | Notes