code: def rename(parsed_args: Namespace) -> None:
      user_obj = client.get_user_by_name(parsed_args.target_user)
      user_obj.rename(new_username=parsed_args.new_username)
  
imports: import getpass
  from argparse import Namespace
  from collections import namedtuple
  from typing import Any, List
  from determined.cli import errors, login_sdk_client, render, setup_session
  from determined.common import api
  from determined.common.api import authentication, bindings, certs
  from determined.common.declarative_argparse import Arg, Cmd, string_to_bool
  from determined.experimental import client
  from determined.experimental.client import Determined
label_desc: Use image node_id 6 for calling a global function with example usage: rename(parsed_args) without return types