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/failure_model.py | |
| parent | 6fdb3e75dad15523d996e457c216647755b29101 (diff) | |
Add formatter
Diffstat (limited to 'opendc/models/failure_model.py')
| -rw-r--r-- | opendc/models/failure_model.py | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/opendc/models/failure_model.py b/opendc/models/failure_model.py index cffa2c47..f5c4909d 100644 --- a/opendc/models/failure_model.py +++ b/opendc/models/failure_model.py @@ -2,13 +2,7 @@ from opendc.models.model import Model class FailureModel(Model): - JSON_TO_PYTHON_DICT = { - 'FailureModel': { - 'id': 'id', - 'name': 'name', - 'rate': 'rate' - } - } + JSON_TO_PYTHON_DICT = {'FailureModel': {'id': 'id', 'name': 'name', 'rate': 'rate'}} COLLECTION_NAME = 'failure_models' COLUMNS = ['id', 'name', 'rate'] |
