code: def __restore_args(parser, args, subcommand=None):
      paths = PatchJsonArgParse.__get_paths_from_dict(args)
      for path in paths:
          args_to_restore = PatchJsonArgParse.__get_args_from_path(
              parser, path, subcommand=subcommand
          )
          for (
              arg_to_restore_key,
              arg_to_restore_value,
          ) in args_to_restore.items():
              if (
                  arg_to_restore_key
                  in PatchJsonArgParse._special_fields
              ):
                  continue
              args[arg_to_restore_key] = arg_to_restore_value
      return args
  
imports: import json
  import logging
  from ..config import running_remotely, get_remote_task_id
  from .frameworks import _patched_call
  from ..utilities.proxy_object import verify_basic_type, flatten_dictionary
label_desc: Use image node_id 5 for calling the PatchJsonArgParse obj's underlying member method code with example usage: obj.__restore_args(parser, args, subcommand) and returns: args