Skip to content

Commit a931dcd

Browse files
committed
fixing mypy
1 parent 8304d83 commit a931dcd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/system/small/operations/test_strings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -639,7 +639,7 @@ def test_getitem_w_struct_array():
639639
("age", pa.int64()),
640640
]
641641
)
642-
data = [
642+
data: list[list[dict]] = [
643643
[
644644
{"name": "Alice", "age": 30},
645645
{"name": "Bob", "age": 25},

third_party/bigframes_vendored/pandas/core/strings/accessor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class StringMethods:
1313
R's stringr package.
1414
"""
1515

16-
def __getitem__(self, pat: str, flags: int = 0):
16+
def __getitem__(self, key: int | slice):
1717
"""
1818
Index or slice string or list in the Series.
1919

0 commit comments

Comments
 (0)