code: def get_server_side_grpc_options(
      additional_options: Optional[Union[list, Dict[str, Any]]] = None
  ) -> List[Tuple[str, Any]]:
      """transform dict of args into grpc option, will merge the args wit the default args
      :param additional_options: a dict of argument
      :return: grpc option i.e a list of tuple of key value
      """
  
      if additional_options:
          if type(additional_options) == list:
              grpc_options = get_default_grpc_options()
              grpc_options.extend(additional_options)
              return grpc_options
          elif type(additional_options) == dict:
              default_grpc_options = dict(get_default_grpc_options())
              merged_options = (
                  {**default_grpc_options, **additional_options}
                  if additional_options
                  else default_grpc_options
              )  # merge new and default args
              return list(merged_options.items())
  
      return get_default_grpc_options()
  
file_path: jina/jina/serve/helper.py
imports: import functools
  import inspect
  import os
  import typing
  from typing import Any, Dict, List, Optional, Tuple, Union
  import grpc
  from jina.helper import convert_tuple_to_list
  from contextlib import nullcontext
label_desc: Use image node_id 8 for calling a global function with example usage: get_server_side_grpc_options(additional_options) and returns: get_default_grpc_options, grpc_options, list