Skip to content

Commit f26b710

Browse files
GH1327 Fix CI
1 parent 2a99f70 commit f26b710

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pandas-stubs/core/groupby/generic.pyi

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -213,17 +213,17 @@ class SeriesGroupBy(GroupBy[Series[S2]], Generic[S2, ByT]):
213213
_TT = TypeVar("_TT", bound=Literal[True, False])
214214

215215
# ty ignore needed because of https://github.com/astral-sh/ty/issues/157#issuecomment-3017337945
216-
class DFCallable1(Protocol[P]):
216+
class DFCallable1(Protocol[P]): # ty: ignore[invalid-argument-type]
217217
def __call__(
218218
self, df: DataFrame, /, *args: P.args, **kwargs: P.kwargs
219219
) -> Scalar | list | dict: ...
220220

221-
class DFCallable2(Protocol[P]):
221+
class DFCallable2(Protocol[P]): # ty: ignore[invalid-argument-type]
222222
def __call__(
223223
self, df: DataFrame, /, *args: P.args, **kwargs: P.kwargs
224224
) -> DataFrame | Series: ...
225225

226-
class DFCallable3(Protocol[P]):
226+
class DFCallable3(Protocol[P]): # ty: ignore[invalid-argument-type]
227227
def __call__(self, df: Iterable, /, *args: P.args, **kwargs: P.kwargs) -> float: ...
228228

229229
class DataFrameGroupBy(GroupBy[DataFrame], Generic[ByT, _TT]):

0 commit comments

Comments
 (0)