@yasgun after merging your thrift interface modifications, thrift python client
stopped working. Here is a sample python code that can reproduce the issue.
import sys
sys.path.append('/Users/dimuthu/code/reference/airavata/thrift-interface-descriptions/target/gen-py')
from airavata.api import Airavata
from thrift import Thrift
from thrift.transport import TSocket, TSSLSocket
from thrift.transport import TTransport
from thrift.protocol import TBinaryProtocol
from airavata.model.security.ttypes import AuthzToken
Here is the error that I'm seeing
https://gist.github.com/DImuthuUpe/fb7e9654c3c32edf2ccdfd36943e7156.
For the instance, I'm accumulating all the workflow related thrift files into a
single file to make it work but you might need to refactor them in order to
preserve modularity. And I'm removing handlers field from WorkflowHandler
struct as in python you can't refer same class inside the same class. You might
have to figure out a better approach to fix that.
[ Full content available at: https://github.com/apache/airavata/pull/203 ]
This message was relayed via gitbox.apache.org for [email protected]