Skip to content

Fix #3481: Replace typing hints in stores.py#3594

Merged
vfdev-5 merged 2 commits intopytorch:masterfrom
ramyars466:fix/replace-typing-hints-stores
Feb 28, 2026
Merged

Fix #3481: Replace typing hints in stores.py#3594
vfdev-5 merged 2 commits intopytorch:masterfrom
ramyars466:fix/replace-typing-hints-stores

Conversation

@ramyars466
Copy link
Copy Markdown
Contributor

Fixes #3481

Changes:

  • List[Any] -> list[Any]
  • Optional[str] -> str | None
  • from collections.abc import Callable

Tests pass ✅

@github-actions github-actions bot added the module: handlers Core Handlers module label Feb 26, 2026
Copy link
Copy Markdown
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.

Thanks!

@vfdev-5 vfdev-5 enabled auto-merge February 26, 2026 22:10
@ramyars466
Copy link
Copy Markdown
Contributor Author

Thank you for the review @vfdev-5! 😊
Is the linkcheck failure related to my changes
or a pre-existing issue? Happy to fix if needed!

@vfdev-5 vfdev-5 disabled auto-merge February 28, 2026 23:37
@vfdev-5 vfdev-5 merged commit 28b4bf9 into pytorch:master Feb 28, 2026
18 of 24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

module: handlers Core Handlers module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Replace typing hints with new version

3 participants