From bae760a62fc6a480fbe615dff6a7de03c7fd6d1d Mon Sep 17 00:00:00 2001 From: Georgios Andreadis Date: Wed, 24 Jun 2020 09:13:09 +0200 Subject: Add formatter --- opendc/models/datacenter.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'opendc/models/datacenter.py') diff --git a/opendc/models/datacenter.py b/opendc/models/datacenter.py index 21e37b52..d4cbf811 100644 --- a/opendc/models/datacenter.py +++ b/opendc/models/datacenter.py @@ -3,13 +3,7 @@ from opendc.models.section import Section class Datacenter(Model): - JSON_TO_PYTHON_DICT = { - 'datacenter': { - 'id': 'id', - 'starred': 'starred', - 'simulationId': 'simulation_id' - } - } + JSON_TO_PYTHON_DICT = {'datacenter': {'id': 'id', 'starred': 'starred', 'simulationId': 'simulation_id'}} PATH = '/v1/simulations/{simulationId}/datacenters' -- cgit v1.2.3