code: def save_config(self, hostname, token):
      with self.config.edit("global") as conf:
          conf["studio"]["token"] = token
          conf["studio"]["url"] = hostname
  
file_path: dvc/dvc/commands/studio.py
imports: import os
  from funcy import get_in
  from dvc.cli import formatter
  from dvc.cli.utils import append_doc_link
  from dvc.commands.config import CmdConfig
  from dvc.log import logger
label_desc: Use image node_id 2 for calling the CmdStudioLogin obj's underlying member method code with example usage: obj.save_config(hostname, token) without return types