class_docstr: Subcommand to launch the Bokeh server.
  
      
docstr: Allows subclasses to customize ``applications``.
  
  Should modify and return a copy of the ``applications`` dictionary.
docstr_tok: ["Allows","subclasses","to","customize","``","applications","``",".","Should","modify","and","return","a","copy","of","the","``","applications","``","dictionary","."]
code: def customize_applications(
      self, args: argparse.Namespace, applications: dict[str, Any]
  ) -> dict[str, Any]:
      """Allows subclasses to customize ``applications``.
  
      Should modify and return a copy of the ``applications`` dictionary.
      """
      return dict(applications)
  
imports: from __future__ import annotations
  import logging
  import argparse
  import os
  from fnmatch import fnmatch
  from glob import glob
  from typing import TYPE_CHECKING, Any
  from tornado.autoreload import watch
  from bokeh.application import Application
  from bokeh.resources import DEFAULT_SERVER_PORT
  from bokeh.server.auth_provider import AuthModule, NullAuth
  from bokeh.server.tornado import DEFAULT_SESSION_TOKEN_EXPIRATION, DEFAULT_WEBSOCKET_MAX_MESSAGE_SIZE_BYTES
  from bokeh.settings import settings
  from bokeh.util.logconfig import basicConfig
  from bokeh.util.strings import format_docstring, nice_join
  from ..subcommand import Argument, Subcommand
  from ..util import build_single_handler_applications, die, report_server_init_errors
label_desc: Use image node_id 1 for calling the Serve obj's underlying member method code with example usage: obj.customize_applications(args, applications) and returns: dict