mirror of
https://github.com/Sea-Haven-Industries/open-swe.git
synced 2026-09-30 15:03:16 +00:00
16 lines
359 B
Python
16 lines
359 B
Python
|
|
from typing import Any
|
||
|
|
|
||
|
|
from ..utils.confluence import get_page
|
||
|
|
|
||
|
|
|
||
|
|
async def confluence_get_page(page_id: str) -> dict[str, Any]:
|
||
|
|
"""Get a Confluence page by its id.
|
||
|
|
|
||
|
|
Args:
|
||
|
|
page_id: The Confluence page id.
|
||
|
|
|
||
|
|
Returns:
|
||
|
|
Dictionary with 'page' containing the normalized page (plain-text body).
|
||
|
|
"""
|
||
|
|
return await get_page(page_id)
|