mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-10 05:51:52 +08:00
Type openpyxl incomplete dunders (#10313)
This commit is contained in:
@@ -15,7 +15,7 @@ vertical_aligments: tuple[_VerticalAlignmentsType, ...]
|
||||
|
||||
class Alignment(Serialisable):
|
||||
tagname: ClassVar[str]
|
||||
__fields__: Incomplete
|
||||
__fields__: ClassVar[tuple[str, ...]]
|
||||
horizontal: NoneSet[_HorizontalAlignmentsType]
|
||||
vertical: NoneSet[_VerticalAlignmentsType]
|
||||
textRotation: NoneSet[int]
|
||||
|
||||
@@ -37,7 +37,7 @@ BORDER_THICK: Final = "thick"
|
||||
BORDER_THIN: Final = "thin"
|
||||
|
||||
class Side(Serialisable):
|
||||
__fields__: Incomplete
|
||||
__fields__: ClassVar[tuple[str, ...]]
|
||||
color: Incomplete
|
||||
style: NoneSet[_SideStyle]
|
||||
border_style: Alias
|
||||
@@ -50,7 +50,7 @@ class Side(Serialisable):
|
||||
|
||||
class Border(Serialisable):
|
||||
tagname: ClassVar[str]
|
||||
__fields__: Incomplete
|
||||
__fields__: ClassVar[tuple[str, ...]]
|
||||
__elements__: ClassVar[tuple[str, ...]]
|
||||
start: Typed[Side, Literal[True]]
|
||||
end: Typed[Side, Literal[True]]
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
from openpyxl.worksheet.worksheet import Worksheet
|
||||
|
||||
def read_dimension(source): ...
|
||||
|
||||
class ReadOnlyWorksheet:
|
||||
@@ -9,8 +11,8 @@ class ReadOnlyWorksheet:
|
||||
def values(self): ...
|
||||
@property
|
||||
def rows(self): ...
|
||||
__getitem__: Incomplete
|
||||
__iter__: Incomplete
|
||||
__getitem__ = Worksheet.__getitem__
|
||||
__iter__ = Worksheet.__iter__
|
||||
parent: Incomplete
|
||||
title: Incomplete
|
||||
sheet_state: str
|
||||
|
||||
@@ -50,17 +50,17 @@ class CellRange(Serialisable):
|
||||
def __ne__(self, other): ...
|
||||
def __eq__(self, other): ...
|
||||
def issubset(self, other): ...
|
||||
__le__: Incomplete
|
||||
__le__ = issubset
|
||||
def __lt__(self, other): ...
|
||||
def issuperset(self, other): ...
|
||||
__ge__: Incomplete
|
||||
__ge__ = issuperset
|
||||
def __contains__(self, coord): ...
|
||||
def __gt__(self, other): ...
|
||||
def isdisjoint(self, other): ...
|
||||
def intersection(self, other): ...
|
||||
__and__: Incomplete
|
||||
__and__ = intersection
|
||||
def union(self, other): ...
|
||||
__or__: Incomplete
|
||||
__or__ = union
|
||||
def __iter__(self): ...
|
||||
def expand(self, right: int = 0, down: int = 0, left: int = 0, up: int = 0) -> None: ...
|
||||
def shrink(self, right: int = 0, bottom: int = 0, left: int = 0, top: int = 0) -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user