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
calling a method that uses C# enum as an argument with the enum fails with TypeError: No method matches given arguments for XXX
The enum comes in Python as an int, and since the method signature is not int, it fails.
I cannot see how to force the typecast, or whether I could somehow force the method call directly (overloads lists the method, but I can't figure out whether I can call directly).
Searching google did not return anything recent, although some older comments (2017/18 IIRC) indicated there was a fix for this?
The text was updated successfully, but these errors were encountered:
Environment
Details
The enum comes in Python as an int, and since the method signature is not int, it fails.
I cannot see how to force the typecast, or whether I could somehow force the method call directly (overloads lists the method, but I can't figure out whether I can call directly).
Searching google did not return anything recent, although some older comments (2017/18 IIRC) indicated there was a fix for this?
The text was updated successfully, but these errors were encountered: