MCPcopy
hub / github.com/dataelement/Clawith / get_atlassian_api_key

Function get_atlassian_api_key

backend/app/services/tool_seeder.py:3835–3842  ·  view source on GitHub ↗

Read the Atlassian API key from the platform config tool.

()

Source from the content-addressed store, hash-verified

3833
3834
3835async def get_atlassian_api_key() -> str:
3836 """Read the Atlassian API key from the platform config tool."""
3837 async with async_session() as db:
3838 result = await db.execute(select(Tool).where(Tool.name == "atlassian_rovo"))
3839 tool = result.scalar_one_or_none()
3840 if tool and tool.config:
3841 return tool.config.get("api_key", "")
3842 return ""

Callers 1

lifespanFunction · 0.90

Calls 4

whereMethod · 0.80
executeMethod · 0.45
scalar_one_or_noneMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected