code: def post_file(self, file_path, graph_type="edges", file_type="csv"):
      dataset_id = self.dataset_id
      tok = self.token
      base_path = self.server_base_path
  
      with open(file_path, "rb") as file:
          out = requests.post(
              f"{base_path}/api/v2/upload/datasets/{dataset_id}/{graph_type}/{file_type}",
              verify=self.certificate_validation,
              headers={"Authorization": f"Bearer {tok}"},
              data=file.read(),
          ).json()
          if not out["success"]:
              raise Exception(out)
  
          return out
  
imports: from typing import List, Optional
  import io, pyarrow, requests, sys
  from graphistry.privacy import Mode, Privacy
  from .ArrowFileUploader import ArrowFileUploader
  from .util import setup_logger
label_desc: Use image node_id 53 for calling the ArrowUploader obj's underlying member method code with example usage: obj.post_file(file_path, graph_type, file_type) and returns: out