Skip to content

Openpyxl: type cell values#13929

Merged
srittau merged 1 commit intopython:mainfrom
Avasam:openpyxl-type-cell-values
May 5, 2025
Merged

Openpyxl: type cell values#13929
srittau merged 1 commit intopython:mainfrom
Avasam:openpyxl-type-cell-values

Conversation

@Avasam
Copy link
Copy Markdown
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

@github-actions
Copy link
Copy Markdown
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
mmingyu pushed a commit to mmingyu/typeshed that referenced this pull request May 16, 2025
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