MCPcopy Create free account
hub / github.com/Ishabdullah/Codey-v2 / get_preferences

Function get_preferences

core/preferences.py:545–550  ·  view source on GitHub ↗

Get the global preference manager.

()

Source from the content-addressed store, hash-verified

543
544
545def 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
553def reset_preferences():

Callers 1

__init__Method · 0.90

Calls 1

PreferenceManagerClass · 0.85

Tested by

no test coverage detected