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 13f3a43 commit 4c1a2a3Copy full SHA for 4c1a2a3
patchwork/steps/CreatePR/CreatePR.py
@@ -2,6 +2,7 @@
2
3
import git
4
from git.exc import GitCommandError
5
+from typing import Optional
6
7
from patchwork.common.client.scm import (
8
GithubClient,
@@ -148,7 +149,7 @@ def create_pr(
148
149
target_branch_name: str,
150
scm_client: ScmPlatformClientProtocol,
151
force: bool = False,
- issue_url: str | None = None, # Optional GitHub Issue URL to link the PR to
152
+ issue_url: Optional[str] = None, # Optional GitHub Issue URL to link the PR to
153
):
154
prs = scm_client.find_prs(repo_slug, original_branch=base_branch_name, feature_branch=target_branch_name)
155
pr = next(iter(prs), None)
0 commit comments