class_docstr: EvaluationPlaneHandler is responsible for running arbitrary python scripts.
class_docstr_tok: ["EvaluationPlaneHandler","is","responsible","for","running","arbitrary","python","scripts","."]
code: def upload_arrow_data(self, data, filename, metadata):
      my_table = pyarrow.table(data)
      if metadata is not None:
          my_table.schema.with_metadata(metadata)
      descriptor = pyarrow.flight.FlightDescriptor.for_path(filename)
      key = (
          descriptor.descriptor_type.value,
          descriptor.command,
          tuple(descriptor.path or tuple()),
      )
      self.arrow_server.flights[key] = my_table
  
imports: import pandas
  import pyarrow
  import uuid
  from tabpy.tabpy_server.handlers import BaseHandler
  import json
  import simplejson
  import logging
  from tabpy.tabpy_server.common.util import format_exception
  import requests
  from tornado import gen
  from datetime import timedelta
  from tabpy.tabpy_server.handlers.util import AuthErrorStates
label_desc: Use image node_id 4 for calling the EvaluationPlaneHandler obj's underlying member method code with example usage: obj.upload_arrow_data(data, filename, metadata) without return types