File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -548,8 +548,7 @@ def generate_perturbation() -> (
548
548
549
549
return generate_perturbation
550
550
551
- # pyre-fixme[24] Generic type `Callable` expects 2 type parameters.
552
- def attribute_future (self ) -> Callable :
551
+ def attribute_future (self ) -> None :
553
552
r"""
554
553
This method is not implemented for LimeBase.
555
554
"""
@@ -1116,8 +1115,7 @@ def attribute( # type: ignore
1116
1115
show_progress = show_progress ,
1117
1116
)
1118
1117
1119
- # pyre-fixme[24] Generic type `Callable` expects 2 type parameters.
1120
- def attribute_future (self ) -> Callable :
1118
+ def attribute_future (self ) -> None :
1121
1119
return super ().attribute_future ()
1122
1120
1123
1121
def _attribute_kwargs ( # type: ignore
Original file line number Diff line number Diff line change @@ -482,7 +482,7 @@ def test_futures_not_implemented(self) -> None:
482
482
)
483
483
attributions = None
484
484
with self .assertRaises (NotImplementedError ):
485
- attributions = lime .attribute_future ()
485
+ attributions = lime .attribute_future () # type: ignore
486
486
self .assertEqual (attributions , None )
487
487
488
488
# pyre-fixme[24]: Generic type `Callable` expects 2 type parameters.
You can’t perform that action at this time.
0 commit comments