def __init__()

in python/thrift/client.py [0:0]


    def __init__(self, host="127.0.0.1", port=9090):
        """ Creates a new instance of the client, initializing the Thrift transport
        :return:
        """
        self.transport = TSocket.TSocket(host, port)
        self.transport = TTransport.TBufferedTransport(self.transport)
        protocol = TBinaryProtocol.TBinaryProtocol(self.transport)

        self.client = Hbase.Client(protocol)
        self.transport.open()