docstr: Update the newly created Task argparse Arguments
  If called before Task created, used for argument verification
  
  :param args: Arguments to pass to the remote execution, list of string pairs (argument, value) or
      list of strings '<argument>=<value>'. Example: ['lr=0.003', (batch_size, 64)]
docstr_tok: ["Update","the","newly","created","Task","argparse","Arguments","If","called","before","Task","created",",","used","for","argument","verification",":","param","args",":","Arguments","to","pass","to","the","remote","execution",",","list","of","string","pairs","(","argument",",","value",")","or","list","of","strings","'","<","argument",">","=","<","value",">","'",".","Example",":","[","'lr=0.003","'",",","(","batch_size",",","64",")","]"]
code: def update_task_args(self, args=None):
      # type: (Optional[Union[Sequence[str], Sequence[Tuple[str, str]]]]) -> ()
      """
      Update the newly created Task argparse Arguments
      If called before Task created, used for argument verification
  
      :param args: Arguments to pass to the remote execution, list of string pairs (argument, value) or
          list of strings '<argument>=<value>'. Example: ['lr=0.003', (batch_size, 64)]
      """
      if not args:
          return
  
      # check args are in format <key>=<value>
      args_list = []
      for a in args:
          if isinstance(a, (list, tuple)):
              assert len(a) == 2
              args_list.append(a)
              continue
          try:
              parts = a.split("=", 1)
              assert len(parts) == 2
              args_list.append(parts)
          except Exception:
              raise ValueError(
                  "Failed parsing argument '{}', arguments must be in '<key>=<value>' format"
              )
  
      if not self.task:
          return
  
      task_params = self.task.get_parameters()
      args_list = {"Args/{}".format(k): v for k, v in args_list}
      task_params.update(args_list)
      self.task.set_parameters(task_params)
  
imports: import inspect
  import json
  import os
  import re
  import tempfile
  from sys import platform
  from functools import reduce
  from logging import getLogger
  from typing import Optional, Sequence, Union, Tuple, List, Callable, Dict, Any
  from pathlib2 import Path
  from six.moves.urllib.parse import urlparse
  from .args import _Arguments
  from .repo import ScriptInfo
  from ...task import Task
label_desc: Use image node_id 4 for calling the CreateAndPopulate obj's underlying member method code with example usage: obj.update_task_args(args) without return types