code: def upload(
      self,
      db_name: str,
      table_name: str,
      file_name: str,
      data,
      index: int,
      is_last: bool,
      total_size: int,
  ):
      return self.client.UploadFileChunk(
          FileChunk(
              session_id=self.session_id,
              db_name=db_name,
              table_name=table_name,
              file_name=file_name,
              index=index,
              data=data,
              is_last=is_last,
              total_size=total_size,
          )
      )
  
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 20 for calling the ThriftInfinityClient obj's underlying member method code with example usage: obj.upload(db_name, table_name, file_name, data, index, is_last, total_size) and returns: self