mirror of
https://github.com/Sea-Haven-Industries/open-swe.git
synced 2026-09-30 11:33:14 +00:00
17 lines
410 B
Python
17 lines
410 B
Python
|
|
import asyncio
|
||
|
|
from typing import Any
|
||
|
|
|
||
|
|
from ..utils.linear import get_issue_comments
|
||
|
|
|
||
|
|
|
||
|
|
def linear_get_issue_comments(issue_id: str) -> dict[str, Any]:
|
||
|
|
"""Get all comments on a Linear issue.
|
||
|
|
|
||
|
|
Args:
|
||
|
|
issue_id: The Linear issue UUID.
|
||
|
|
|
||
|
|
Returns:
|
||
|
|
Dictionary with 'comments' list, each containing id, body, createdAt, user, etc.
|
||
|
|
"""
|
||
|
|
return asyncio.run(get_issue_comments(issue_id))
|