-
Notifications
You must be signed in to change notification settings - Fork 28
Closed
Description
Hello,
As I was using this library for multi dispatching for functions, I was wondering if the same functionality can be added to methods as well. It would look some like this:
class Test:
@multidispatchmethod
def meth(self, *args, **kwargs):
...
@meth.register(int, float)
def _(self, x: int, y: float):
...
@meth.register(str, str)
def _(self, x: str, y: str):
...I would be open to work on this eventual feature 😄 .
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels