You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Lists all open pull requests for a given repository owner.
229
+
Args:
230
+
repo_owner (str): The owner of the repository.
231
+
Returns:
232
+
Dict[str, Any]: A dictionary containing the list of open pull requests.
233
+
Error Handling:
234
+
Catches and logs any exceptions that occur during the fetch operation. If an error is encountered, the error message is logged and an empty dictionary is returned.
235
+
"""
236
+
logging.info(f"Listing open PRs for {repo_owner}")
237
+
try:
238
+
open_prs=self.gi.list_open_prs(repo_owner)
239
+
returnf"Successfully listed open PRs for {repo_owner}: {open_prs}"
0 commit comments