code: def graph_upload(self):
      client_ip = request.remote_addr
      graph_reader = self.graph_reader_client_manager.get_data(
          client_ip
      )
      files = request.files
      if "file" in files:
          file_handle = request.files["file"]
          if "pdmodel" in file_handle.filename:
              graph_reader.set_input_graph(
                  file_handle.stream.read(), "pdmodel"
              )
          elif "vdlgraph" in file_handle.filename:
              graph_reader.set_input_graph(
                  file_handle.stream.read(), "vdlgraph"
              )
  
imports: import functools
  import gzip
  import json
  import os
  from io import BytesIO
  from flask import request
  from visualdl import LogReader
  from visualdl.python.cache import MemCache
  from visualdl.reader.graph_reader import GraphReader
  from visualdl.server import lib
  from visualdl.server.client_manager import ClientManager
  from visualdl.server.log import logger
label_desc: Use image node_id 45 for calling the Api obj's underlying member method code with example usage: obj.graph_upload() without return types