You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bind's signature after binding a function is <Signature (*args, **kwargs)> . Could it be possible to please have a version of it that gives back a function (or bind object) with the right signature after binding? for example:
for def foo(a: int, b: str, c: float, d: str='hey'): pass
its signature is <Signature (a: int, b: str, c: float, d: str = 'hey')>
and if I define bf = bind(foo, 1, _Arg(0), 2)
I would like to have bfs signature be <Signature (b: str, d: str = 'hey')>
The text was updated successfully, but these errors were encountered:
bind
's signature after binding a function is<Signature (*args, **kwargs)>
. Could it be possible to please have a version of it that gives back a function (or bind object) with the right signature after binding? for example:for
def foo(a: int, b: str, c: float, d: str='hey'): pass
its signature is
<Signature (a: int, b: str, c: float, d: str = 'hey')>
and if I define
bf = bind(foo, 1, _Arg(0), 2)
I would like to have
bf
s signature be<Signature (b: str, d: str = 'hey')>
The text was updated successfully, but these errors were encountered: