eladkal commented on code in PR #52072:
URL: https://github.com/apache/airflow/pull/52072#discussion_r2161198896
##########
dev/breeze/src/airflow_breeze/commands/release_management_commands.py:
##########
@@ -3762,7 +3762,7 @@ def generate_issue_content(
):
from github import Github, Issue, PullRequest, UnknownObjectException
- PullRequestOrIssue = Union[PullRequest.PullRequest, Issue.Issue]
+ PullRequestOrIssue = PullRequest.PullRequest | Issue.Issue
Review Comment:
This is to fix
`Testing: avoid UP038 Use X | Y in isinstance call instead of (X, Y)`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]