File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -346,7 +346,7 @@ def by(val) -> bool:
346
346
target_children = list (filter (by , self .children ))
347
347
if first :
348
348
return target_children [0 ]
349
- return return target_children
349
+ return target_children
350
350
351
351
def get_by_id (self , id ):
352
352
"""
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ def _info(self):
63
63
attrs = {"pane_id" : self ._pane_id }
64
64
65
65
# from https://github.com/serkanyersen/underscore.py
66
- def by (val ):
66
+ def by (val ) -> bool :
67
67
for key in attrs .keys ():
68
68
try :
69
69
if attrs [key ] != val [key ]:
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ def _info(self):
63
63
64
64
attrs = {"session_id" : str (self ._session_id )}
65
65
66
- def by (val ):
66
+ def by (val ) -> bool :
67
67
for key in attrs .keys ():
68
68
try :
69
69
if attrs [key ] != val [key ]:
Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ def _info(self, *args):
68
68
attrs = {"window_id" : self ._window_id }
69
69
70
70
# from https://github.com/serkanyersen/underscore.py
71
- def by (val ):
71
+ def by (val ) -> bool :
72
72
for key in attrs .keys ():
73
73
try :
74
74
if attrs [key ] != val [key ]:
You can’t perform that action at this time.
0 commit comments