Skip to content

Openpyxl: type cell values #13929

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 5, 2025
Merged

Conversation

Avasam
Copy link
Collaborator

@Avasam Avasam commented May 3, 2025

Closes #9511

The special cases are:

  • Assigning bytes to Cell.value is valid but will result in a str
  • MergedCell.value should always be None
  • Cell value unions in invariant generics have been replaced by an Any TypeAlias

Copy link
Contributor

github-actions bot commented May 3, 2025

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

@srittau srittau merged commit 61b54b4 into python:main May 5, 2025
43 checks passed
@Avasam Avasam deleted the openpyxl-type-cell-values branch May 5, 2025 13:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants