diff options
| author | Georgios Andreadis <info@gandreadis.com> | 2020-06-24 09:13:09 +0200 |
|---|---|---|
| committer | Georgios Andreadis <info@gandreadis.com> | 2020-06-24 09:13:09 +0200 |
| commit | bae760a62fc6a480fbe615dff6a7de03c7fd6d1d (patch) | |
| tree | 06fc47f9922add14a3ac50fcfdfeb3d4fdc00363 /opendc/models/trace.py | |
| parent | 6fdb3e75dad15523d996e457c216647755b29101 (diff) | |
Add formatter
Diffstat (limited to 'opendc/models/trace.py')
| -rw-r--r-- | opendc/models/trace.py | 7 |
1 files changed, 1 insertions, 6 deletions
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'] |
