Converts the options dict into a class
| 124 | |
| 125 | |
| 126 | class WorkloadConfig(object): |
| 127 | """Converts the options dict into a class""" |
| 128 | def __init__(self, **config): |
| 129 | self.__dict__.update(config) |
| 130 | |
| 131 | |
| 132 | class CustomJSONEncoder(json.JSONEncoder): |
no outgoing calls
no test coverage detected