preferences Convert all the module preferences in the JSON format. :returns: a list of the preferences for each of the modules.
(cls)
| 486 | |
| 487 | @classmethod |
| 488 | def preferences(cls): |
| 489 | """ |
| 490 | preferences |
| 491 | Convert all the module preferences in the JSON format. |
| 492 | |
| 493 | :returns: a list of the preferences for each of the modules. |
| 494 | """ |
| 495 | res = [] |
| 496 | |
| 497 | for m in Preferences.modules: |
| 498 | res.append(Preferences.modules[m].to_json()) |
| 499 | |
| 500 | return res |
| 501 | |
| 502 | @classmethod |
| 503 | def register_preference( |
no test coverage detected