MCPcopy Create free account
hub / github.com/aws/aws-cli / universal_first

Function universal_first

awscli/customizations/agenttoolkit/agents.py:409–413  ·  view source on GitHub ↗
(items, get_id=lambda a: a.config.id)

Source from the content-addressed store, hash-verified

407
408
409def universal_first(items, get_id=lambda a: a.config.id):
410 return sorted(
411 items,
412 key=lambda i: 0 if get_id(i) == UNIVERSAL_ROW_ID else 1,
413 )
414
415
416def get_detected_agents(agent_configs=None):

Callers 4

_run_mainMethod · 0.90
install_skillFunction · 0.90
_run_mainMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected