Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.68 KB

File metadata and controls

32 lines (23 loc) · 1.68 KB

V0041OpenapiJobInfoRespJobsInnerTasksPerSocket

Number of tasks invoked on each socket

Properties

Name Type Description Notes
set bool True if number has been set; False if number is unset [optional]
infinite bool True if number has been set to infinite; "set" and "number" will be ignored [optional]
number int If "set" is True the number will be set with value; otherwise ignore number contents [optional]

Example

from slurmrest_python.models.v0041_openapi_job_info_resp_jobs_inner_tasks_per_socket import V0041OpenapiJobInfoRespJobsInnerTasksPerSocket

# TODO update the JSON string below
json = "{}"
# create an instance of V0041OpenapiJobInfoRespJobsInnerTasksPerSocket from a JSON string
v0041_openapi_job_info_resp_jobs_inner_tasks_per_socket_instance = V0041OpenapiJobInfoRespJobsInnerTasksPerSocket.from_json(json)
# print the JSON string representation of the object
print(V0041OpenapiJobInfoRespJobsInnerTasksPerSocket.to_json())

# convert the object into a dict
v0041_openapi_job_info_resp_jobs_inner_tasks_per_socket_dict = v0041_openapi_job_info_resp_jobs_inner_tasks_per_socket_instance.to_dict()
# create an instance of V0041OpenapiJobInfoRespJobsInnerTasksPerSocket from a dict
v0041_openapi_job_info_resp_jobs_inner_tasks_per_socket_from_dict = V0041OpenapiJobInfoRespJobsInnerTasksPerSocket.from_dict(v0041_openapi_job_info_resp_jobs_inner_tasks_per_socket_dict)

[Back to Model list] [Back to API list] [Back to README]