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

Method get_all

core/preferences.py:505–512  ·  view source on GitHub ↗

Get all preferences with sufficient confidence.

(self)

Source from the content-addressed store, hash-verified

503 return default or self.CATEGORIES.get(category, {}).get("default")
504
505 def get_all(self) -> Dict[str, str]:
506 """Get all preferences with sufficient confidence."""
507 result = {}
508 for category, config in self.CATEGORIES.items():
509 value = self.get(category)
510 if value:
511 result[category] = value
512 return result
513
514 def get_confidence(self, category: str) -> float:
515 """Get confidence level for a preference."""

Callers 1

statusMethod · 0.95

Calls 1

getMethod · 0.95

Tested by

no test coverage detected