[openpyxl] Fix stubs for openpyxl.descriptors.sequence.UniqueSequence.seq_types (#14725)

This commit is contained in:
Jan-Eric Nitschke
2025-09-18 16:00:10 +02:00
committed by GitHub
parent 4b0fec4506
commit e129873f9b
2 changed files with 1 additions and 5 deletions
@@ -187,7 +187,3 @@ openpyxl.worksheet.smart_tag.CellSmartTagPr.__init__
openpyxl.worksheet.smart_tag.CellSmartTags.__init__
openpyxl.worksheet.table.TableColumn.__init__
openpyxl.worksheet.table.XMLColumnProps.__init__
# FIXME: new stubtest errors from mypy v1.18.1 that need to be looked at more closely.
# See https://github.com/python/typeshed/pull/14699
openpyxl.descriptors.sequence.UniqueSequence.seq_types
@@ -38,7 +38,7 @@ class Sequence(Descriptor[_ContainerT]):
# `_T` is the type of the elements in the sequence.
class UniqueSequence(Sequence[set[_T]]):
seq_types: tuple[type[list[_T]], type[tuple[_T, ...]], type[set[_T]]]
seq_types: tuple[type, ...] # defaults to `list`, `tuple`, `set`
container: type[set[_T]]
# See `Sequence` for the meaning of `_ContainerT`.