Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
I have a class created in Python and would like to pass the instance (object) to Talend. I am not sure as to how to store the object "as-is" and use to retrieve values? Thanks
Hello,
This would be the other way around. In Talend, I am using tSystem to run Python script which is now trying to pass an object ( instance of class) to TSystem Output. However, I am not sure if Python object can be passed as such and how do we store in Talend which is java based. Thanks
There may be a Python interpreter in the Exchange. There are also APIs available that you could use, for example (https://pythonhosted.org/javabridge/java2python.html).
But I would consider serialising (or simply returning) your Python object in XML/JSON and reading that into Talend.