Skip to content

Commit

Permalink
fix(preprocessing/transformers): fix type annotation for `Transformer…
Browse files Browse the repository at this point in the history
….__ror__`
  • Loading branch information
ruancomelli committed Sep 12, 2022
1 parent 1f43fe3 commit 28f9c04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion boiling_learning/preprocessing/transformers.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def __str__(self) -> str:
)
return f'<{self.__class__.__name__} ({", ".join(arguments)})>'

def __ror__(self, arg: _X) -> _Y:
def __ror__(self, arg: _X) -> _DescribedLazyTransform[_Y]:
return _DescribedLazyTransform(arg, self)


Expand Down

0 comments on commit 28f9c04

Please sign in to comment.