Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1.06 KB

File metadata and controls

31 lines (22 loc) · 1.06 KB

RunResourceRequested

the memory and CPU requested by the pod

Properties

Name Type Description Notes
cpu int Define cpu needs [optional]
memory int Define memory needs [optional]

Example

from cosmotech_api.models.run_resource_requested import RunResourceRequested

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

# convert the object into a dict
run_resource_requested_dict = run_resource_requested_instance.to_dict()
# create an instance of RunResourceRequested from a dict
run_resource_requested_from_dict = RunResourceRequested.from_dict(run_resource_requested_dict)

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