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/trace.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'opendc/models/trace.py') diff --git a/opendc/models/trace.py b/opendc/models/trace.py index 2f5e33cd..f6d2e1c1 100644 --- a/opendc/models/trace.py +++ b/opendc/models/trace.py @@ -2,12 +2,7 @@ from opendc.models.model import Model class Trace(Model): - JSON_TO_PYTHON_DICT = { - 'Trace': { - 'id': 'id', - 'name': 'name' - } - } + JSON_TO_PYTHON_DICT = {'Trace': {'id': 'id', 'name': 'name'}} COLLECTION_NAME = 'traces' COLUMNS = ['id', 'name'] -- cgit v1.2.3