code: def import_flink_view(gateway):
      """
      import the classes used by PyFlink.
      :param gateway:gateway connected to JavaGateWayServer
      """
      # Import the classes used by PyFlink
      java_import(gateway.jvm, "org.apache.flink.table.api.*")
      java_import(gateway.jvm, "org.apache.flink.table.api.config.*")
      java_import(gateway.jvm, "org.apache.flink.table.api.java.*")
      java_import(
          gateway.jvm, "org.apache.flink.table.api.bridge.java.*"
      )
      java_import(gateway.jvm, "org.apache.flink.table.api.dataview.*")
      java_import(gateway.jvm, "org.apache.flink.table.catalog.*")
      java_import(gateway.jvm, "org.apache.flink.table.descriptors.*")
      java_import(
          gateway.jvm, "org.apache.flink.table.descriptors.python.*"
      )
      java_import(gateway.jvm, "org.apache.flink.table.expressions.*")
      java_import(gateway.jvm, "org.apache.flink.table.sources.*")
      java_import(gateway.jvm, "org.apache.flink.table.sinks.*")
      java_import(gateway.jvm, "org.apache.flink.table.sources.*")
      java_import(gateway.jvm, "org.apache.flink.table.types.*")
      java_import(gateway.jvm, "org.apache.flink.table.types.logical.*")
      java_import(gateway.jvm, "org.apache.flink.table.util.python.*")
      java_import(gateway.jvm, "org.apache.flink.api.common.python.*")
      java_import(
          gateway.jvm,
          "org.apache.flink.api.common.typeinfo.TypeInformation",
      )
      java_import(
          gateway.jvm, "org.apache.flink.api.common.typeinfo.Types"
      )
      java_import(
          gateway.jvm, "org.apache.flink.api.java.ExecutionEnvironment"
      )
      java_import(
          gateway.jvm,
          "org.apache.flink.streaming.api.environment.StreamExecutionEnvironment",
      )
      java_import(
          gateway.jvm,
          "org.apache.flink.api.common.restartstrategy.RestartStrategies",
      )
      java_import(
          gateway.jvm,
          "org.apache.flink.python.util.PythonDependencyUtils",
      )
      java_import(gateway.jvm, "org.apache.flink.python.PythonOptions")
      java_import(
          gateway.jvm,
          "org.apache.flink.client.python.PythonGatewayServer",
      )
      java_import(
          gateway.jvm,
          "org.apache.flink.streaming.api.functions.python.*",
      )
      java_import(
          gateway.jvm,
          "org.apache.flink.streaming.api.operators.python.process.*",
      )
      java_import(
          gateway.jvm,
          "org.apache.flink.streaming.api.operators.python.embedded.*",
      )
      java_import(
          gateway.jvm,
          "org.apache.flink.streaming.api.typeinfo.python.*",
      )
  
imports: import importlib
  import os
  import shlex
  import shutil
  import struct
  import tempfile
  import time
  from logging import WARN
  from threading import RLock
  from py4j.java_gateway import java_import, logger, JavaGateway, GatewayParameters, CallbackServerParameters
  from pyflink.find_flink_home import _find_flink_home
  from pyflink.pyflink_gateway_server import launch_gateway_server_process
  from pyflink.util.exceptions import install_exception_handler, install_py4j_hooks
label_desc: Use image node_id 4 for calling a global function with example usage: import_flink_view(gateway) without return types