Skip to content

Commit 9e4d24d

Browse files
committed
add mypy 'type-var' ignore
1 parent bdd9314 commit 9e4d24d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/resample.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ def __getattr__(self, attr: str):
205205

206206
# error: Signature of "obj" incompatible with supertype "BaseGroupBy"
207207
@property
208-
def obj(self) -> NDFrameT: # type: ignore[override]
208+
def obj(self) -> NDFrameT: # type: ignore[override, type-var]
209209
# error: Incompatible return value type (got "Optional[Any]",
210210
# expected "NDFrameT")
211211
return self.groupby.obj # type: ignore[return-value]

0 commit comments

Comments
 (0)