Get the global preference manager.
()
| 543 | |
| 544 | |
| 545 | def get_preferences() -> PreferenceManager: |
| 546 | """Get the global preference manager.""" |
| 547 | global _preferences |
| 548 | if _preferences is None: |
| 549 | _preferences = PreferenceManager() |
| 550 | return _preferences |
| 551 | |
| 552 | |
| 553 | def reset_preferences(): |
no test coverage detected