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
Currently, when a python function is passed to JS it gets wrapped in a JS function in jsTypeFactory.hh called callPyFunc. If JS then returns that function back to python, it wraps it in a python function in pyTypeFactory.hh called callJSFunc. A similar thing happens in the other direction when starting with a JS function.
What should happen is that when a wrapped python function is returned back to python, it gets unwrapped and the original function is passed back. Conversely, when a wrapped JS function is returned back to JS, it should get unwrapped and the original function passed back.
As an example, the following should be able to pass: