Incorporates changes by 0mnius.
The intent is to define terse, standards-supported names for AWS regions.
| from __future__ import unicode_literals | |
| import logging | |
| import json | |
| logger = logging.getLogger(__name__) | |
| logging.getLogger().setLevel(logging.INFO) | |
| class PythonObjectEncoder(json.JSONEncoder): | |
| """Custom JSON Encoder that allows encoding of un-serializable objects |
Incorporates changes by 0mnius.
The intent is to define terse, standards-supported names for AWS regions.