I\'m interfacing with a .NET API in IronPython. The API is returning an object of the wrong type (some kind of generic object). I suspect that the problem is not showing up
I had a similar problem on a project a few months ago. This was my fix:
import clr
clr.GetPythonType(x)
x can be a .NET type or a type that is in a dll file that you have imported using clr.
I am not a C# programmer, but I have been told by C# programmer colleagues that this code in C# would be:
typeof(x)
Hope this helps