docstr: Note: likely want to pair with self.maybe_post_share_link(g)
docstr_tok: ["Note",":","likely","want","to","pair","with","self.maybe_post_share_link","(","g",")"]
code: def post(self, as_files: bool = True, memoize: bool = True):
      """
      Note: likely want to pair with self.maybe_post_share_link(g)
      """
      logger.debug(
          "@ArrowUploader.post, self.org_name : %s", self.org_name
      )
      if as_files:
          file_uploader = ArrowFileUploader(self)
          file_opts = {"name": self.name + " edges"}
          if self.org_name:
              file_opts["org_name"] = self.org_name
  
          e_file_id, _ = file_uploader.create_and_post_file(
              self.edges, file_opts=file_opts
          )
  
          if not (self.nodes is None):
              n_file_id, _ = file_uploader.create_and_post_file(
                  self.nodes, file_opts=file_opts
              )
  
          self.create_dataset(
              {
                  "node_encodings": self.node_encodings,
                  "edge_encodings": self.edge_encodings,
                  "metadata": self.metadata,
                  "name": self.name,
                  "description": self.description,
                  "edge_files": [e_file_id],
                  **(
                      {
                          "node_files": [n_file_id]
                          if not (self.nodes is None)
                          else []
                      }
                  ),
              }
          )
  
      else:
          self.create_dataset(
              {
                  "node_encodings": self.node_encodings,
                  "edge_encodings": self.edge_encodings,
                  "metadata": self.metadata,
                  "name": self.name,
                  "description": self.description,
              }
          )
  
          self.post_edges_arrow()
  
          if not (self.nodes is None):
              self.post_nodes_arrow()
  
      return self
  
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 42 for calling the ArrowUploader obj's underlying member method code with example usage: obj.post(as_files, memoize) and returns: self