code: def list_databases(self):
      return self.client.ListDatabase(
          ListDatabaseRequest(session_id=self.session_id)
      )
  
imports: from infinity.remote_thrift.infinity_thrift_rpc import *
  from infinity.remote_thrift.infinity_thrift_rpc.ttypes import *
  from thrift.protocol import TBinaryProtocol
  from thrift.transport import TSocket
  from infinity import URI
label_desc: Use image node_id 4 for calling the ThriftInfinityClient obj's underlying member method code with example usage: obj.list_databases() and returns: self