Skip to content

Update type hints to Python 3.10+ in ignite/metrics/roc_auc.py#3512

Merged
vfdev-5 merged 1 commit intopytorch:masterfrom
davideticchiarelli01:update-type-hints-roc-auc
Feb 5, 2026
Merged

Update type hints to Python 3.10+ in ignite/metrics/roc_auc.py#3512
vfdev-5 merged 1 commit intopytorch:masterfrom
davideticchiarelli01:update-type-hints-roc-auc

Conversation

@davideticchiarelli01
Copy link
Contributor

Fixes part of #3481.

Updated type hints in ignite/metrics/roc_auc.py to use Python 3.10+ syntax (e.g., "|" instead of "Union").

@github-actions github-actions bot added the module: metrics Metrics module label Feb 4, 2026
Copy link
Collaborator

@vfdev-5 vfdev-5 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vfdev-5 vfdev-5 enabled auto-merge February 5, 2026 09:39
@vfdev-5 vfdev-5 added this pull request to the merge queue Feb 5, 2026
Merged via the queue into pytorch:master with commit b955ec6 Feb 5, 2026
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

module: metrics Metrics module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants