docs: def set_env_from_args(args):
      ''' Sets the environment variables for this process from arguments (argparse.Namespace)
      and calls dxpy._initialize() to reset any values that it has already set.
      '''
      args = vars(args)
  
      if args.get('apiserver_host') is not None:
          config['DX_APISERVER_HOST'] = args['apiserver_host']
      if args.get('apiserver_port') is not None:
          config['DX_APISERVER_PORT'] = args['apiserver_port']
      if args.get('apiserver_protocol') is not None:
          config['DX_APISERVER_PROTOCOL'] = args['apiserver_protocol']
      if args.get('project_context_id') is not None:
          config['DX_PROJECT_CONTEXT_ID'] = args['project_context_id']
      if args.get('workspace_id') is not None:
          config['DX_WORKSPACE_ID'] = args['workspace_id']
      if args.get('cli_wd') is not None:
          config['DX_CLI_WD'] = args['cli_wd']
      if args.get('security_context') is not None:
          config['DX_SECURITY_CONTEXT'] = args['security_context']
      if args.get('auth_token') is not None:
          config['DX_SECURITY_CONTEXT'] = json.dumps({"auth_token": args['auth_token'],
                                                      "auth_token_type": "Bearer"})