@@ -47,7 +47,7 @@ def _selector(
4747 function_name = "selector" ,
4848 evaluate_output_names = evaluate_output_names ,
4949 alias_output_names = None ,
50- implementation = self ._implementation , # AttributeError: 'PandasSelector' object has no attribute '_implementation'
50+ implementation = self ._implementation ,
5151 backend_version = self ._backend_version ,
5252 version = self ._version ,
5353 )
@@ -58,19 +58,17 @@ def __init__(self: Self, context: _FullContext, /) -> None:
5858 self ._version = context ._version
5959
6060
61- # BUG: `3.8` Protocol?
62- # https://github.com/narwhals-dev/narwhals/pull/2064#discussion_r1965980715
6361class PandasSelector ( # type: ignore[misc]
6462 CompliantSelector ["PandasLikeDataFrame" , "PandasLikeSeries" ], PandasLikeExpr
6563):
6664 def _to_expr (self : Self ) -> PandasLikeExpr :
6765 return PandasLikeExpr (
68- self ._call , # AttributeError: 'PandasSelector' object has no attribute '_call'
66+ self ._call ,
6967 depth = self ._depth ,
7068 function_name = self ._function_name ,
71- evaluate_output_names = self ._evaluate_output_names , # AttributeError: 'PandasSelector' object has no attribute '_evaluate_output_names'
69+ evaluate_output_names = self ._evaluate_output_names ,
7270 alias_output_names = self ._alias_output_names ,
73- implementation = self ._implementation , # AttributeError: 'PandasSelector' object has no attribute '_implementation'
71+ implementation = self ._implementation ,
7472 backend_version = self ._backend_version ,
7573 version = self ._version ,
7674 )
0 commit comments