summaryrefslogtreecommitdiff
path: root/opendc/models/cpu.py
diff options
context:
space:
mode:
authorGeorgios Andreadis <info@gandreadis.com>2020-06-24 09:13:09 +0200
committerGeorgios Andreadis <info@gandreadis.com>2020-06-24 09:13:09 +0200
commitbae760a62fc6a480fbe615dff6a7de03c7fd6d1d (patch)
tree06fc47f9922add14a3ac50fcfdfeb3d4fdc00363 /opendc/models/cpu.py
parent6fdb3e75dad15523d996e457c216647755b29101 (diff)
Add formatter
Diffstat (limited to 'opendc/models/cpu.py')
-rw-r--r--opendc/models/cpu.py11
1 files changed, 2 insertions, 9 deletions
diff --git a/opendc/models/cpu.py b/opendc/models/cpu.py
index 7ab8cecc..034a86fe 100644
--- a/opendc/models/cpu.py
+++ b/opendc/models/cpu.py
@@ -19,15 +19,8 @@ class CPU(Model):
COLLECTION_NAME = 'cpus'
COLUMNS = [
- 'id',
- 'manufacturer',
- 'family',
- 'generation',
- 'model',
- 'clock_rate_mhz',
- 'number_of_cores',
- 'energy_consumption_w',
- 'failure_model_id'
+ 'id', 'manufacturer', 'family', 'generation', 'model', 'clock_rate_mhz', 'number_of_cores',
+ 'energy_consumption_w', 'failure_model_id'
]
COLUMNS_PRIMARY_KEY = ['id']