MCPcopy Index your code
hub / github.com/github/spec-kit / keys

Method keys

src/specify_cli/presets/__init__.py:483–495  ·  view source on GitHub ↗

Get all preset IDs including corrupted entries. Lightweight method that returns IDs without deep-copying metadata. Use this when you only need to check which presets are tracked. Returns: Set of preset IDs (includes corrupted entries)

(self)

Source from the content-addressed store, hash-verified

481 }
482
483 def keys(self) -> set:
484 """Get all preset IDs including corrupted entries.
485
486 Lightweight method that returns IDs without deep-copying metadata.
487 Use this when you only need to check which presets are tracked.
488
489 Returns:
490 Set of preset IDs (includes corrupted entries)
491 """
492 packs = self.data.get("presets", {}) or {}
493 if not isinstance(packs, dict):
494 return set()
495 return set(packs.keys())
496
497 def list_by_priority(self, include_disabled: bool = False) -> List[tuple]:
498 """Get all installed presets sorted by priority.

Callers 13

select_with_arrowsFunction · 0.45
initFunction · 0.45
_get_valid_step_typesFunction · 0.45
__init__.pyFile · 0.45
load_auth_configFunction · 0.45
integration_installFunction · 0.45
integration_listFunction · 0.45
_normalize_script_typeFunction · 0.45
integration_switchFunction · 0.45
loadMethod · 0.45

Calls 1

getMethod · 0.45