mirror of
https://github.com/Sea-Haven-Industries/open-swe.git
synced 2026-09-30 22:03:14 +00:00
17 lines
435 B
Python
17 lines
435 B
Python
|
|
from typing import Any
|
||
|
|
|
||
|
|
from ..utils.confluence import add_comment
|
||
|
|
|
||
|
|
|
||
|
|
async def confluence_comment(page_id: str, comment_body: str) -> dict[str, Any]:
|
||
|
|
"""Post a comment to a Confluence page.
|
||
|
|
|
||
|
|
Args:
|
||
|
|
page_id: The Confluence page id to comment on.
|
||
|
|
comment_body: Plain-text comment text to post.
|
||
|
|
|
||
|
|
Returns:
|
||
|
|
Dictionary with 'success' (bool) key.
|
||
|
|
"""
|
||
|
|
return await add_comment(page_id, comment_body)
|