Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 1.06 KB

File metadata and controls

34 lines (25 loc) · 1.06 KB

Contract

Properties

Name Type Description Notes
allocated_gpu_count_graph List[AllocatedGPUCountGraph] [optional]
granularity int [optional]
id str [optional]
org_id int [optional]
status str [optional]
total_gpu_allocation int [optional]

Example

from hyperstack.models.contract import Contract

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

# convert the object into a dict
contract_dict = contract_instance.to_dict()
# create an instance of Contract from a dict
contract_from_dict = Contract.from_dict(contract_dict)

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