summaryrefslogtreecommitdiff
path: root/opendc/models/object.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/object.py
parent6fdb3e75dad15523d996e457c216647755b29101 (diff)
Add formatter
Diffstat (limited to 'opendc/models/object.py')
-rw-r--r--opendc/models/object.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/opendc/models/object.py b/opendc/models/object.py
index dab2f24e..2ce079af 100644
--- a/opendc/models/object.py
+++ b/opendc/models/object.py
@@ -2,12 +2,7 @@ from opendc.models.model import Model
class Object(Model):
- JSON_TO_PYTHON_DICT = {
- 'Object': {
- 'id': 'id',
- 'type': 'type'
- }
- }
+ JSON_TO_PYTHON_DICT = {'Object': {'id': 'id', 'type': 'type'}}
COLLECTION_NAME = 'objects'
COLUMNS = ['id', 'type']