code: def _command(self, args: Namespace):
      super()._command(args)
  
      os.environ["DSTACK_SERVER_HOST"] = args.host
      os.environ["DSTACK_SERVER_PORT"] = str(args.port)
      os.environ["DSTACK_SERVER_LOG_LEVEL"] = args.log_level
      if args.default:
          os.environ["DSTACK_UPDATE_DEFAULT_PROJECT"] = "1"
      if args.no_default:
          os.environ["DSTACK_DO_NOT_UPDATE_DEFAULT_PROJECT"] = "1"
      if args.token:
          os.environ["DSTACK_SERVER_ADMIN_TOKEN"] = args.token
      uvicorn_log_level = os.getenv(
          "DSTACK_SERVER_UVICORN_LOG_LEVEL", "ERROR"
      ).lower()
      uvicorn.run(
          "dstack._internal.server.main:app",
          host=args.host,
          port=args.port,
          reload=version.__version__ is None,
          log_level=uvicorn_log_level,
      )
  
file_path: dstack/src/dstack/_internal/cli/commands/server.py
imports: import os
  from argparse import Namespace
  import uvicorn
  from dstack import version
  from dstack._internal.cli.commands import BaseCommand
label_desc: Use image node_id 2 for calling the ServerCommand obj's underlying member method code with example usage: obj._command(args) without return types