We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b6e56e commit ce657b3Copy full SHA for ce657b3
src/plugins/publish/utils.py
@@ -5,7 +5,6 @@
5
from typing import TYPE_CHECKING, Union
6
7
from githubkit.exception import RequestFailed
8
-from githubkit.rest import PullRequest, PullRequestSimple
9
from nonebot import logger
10
from nonebot.adapters.github import Bot, GitHubBot
11
@@ -45,6 +44,7 @@
45
44
Issue,
46
IssuePropLabelsItemsOneof1,
47
Label,
+ PullRequest,
48
PullRequestPropLabelsItems,
49
PullRequestSimple,
50
PullRequestSimplePropLabelsItems,
@@ -262,7 +262,7 @@ def validate_info_from_issue(
262
263
264
async def resolve_conflict_pull_requests(
265
- pulls: list[PullRequestSimple] | list[PullRequest],
+ pulls: list["PullRequestSimple"] | list["PullRequest"],
266
):
267
"""根据关联的议题提交来解决冲突
268
0 commit comments