MCPcopy Create free account
hub / github.com/CJackHwang/AIstudioProxyAPI / get_category_keys

Method get_category_keys

gui/env_manager.py:463–467  ·  view source on GitHub ↗

Get all keys belonging to a category.

(self, category: str)

Source from the content-addressed store, hash-verified

461 self._values = self._original_values.copy()
462
463 def get_category_keys(self, category: str) -> List[str]:
464 """Get all keys belonging to a category."""
465 return [
466 key for key, (_, _, _, cat) in self.ENV_SCHEMA.items() if cat == category
467 ]
468
469 def get_schema_info(self, key: str) -> Optional[Tuple[Any, str, str, str]]:
470 """Get schema info for a key: (default, type, description, category)."""

Callers 2

_build_settings_uiMethod · 0.80

Calls

no outgoing calls

Tested by 1