code: def copy_defaults_from_argparse(
      self, parser, args=None, namespace=None, parsed_args=None
  ):
      (
          task_defaults,
          task_defaults_descriptions,
          task_defaults_types,
      ) = self._get_defaults_from_argparse(
          parser,
          args=args,
          namespace=namespace,
          parsed_args=parsed_args,
      )
  
      # Store to task
      self._task.update_parameters(
          task_defaults,
          __parameters_descriptions=task_defaults_descriptions,
          __parameters_types=task_defaults_types,
      )
  
imports: import yaml
  from enum import Enum
  from inspect import isfunction
  from six import PY2
  from argparse import _StoreAction, ArgumentError, _StoreConstAction, _SubParsersAction, _AppendAction, SUPPRESS
  from copy import copy
  from typing import Tuple, Type, Union
  from ...backend_api import Session
  from ...binding.args import call_original_argparser
  from ...utilities.proxy_object import get_type_from_basic_type_str
label_desc: Use image node_id 7 for calling the _Arguments obj's underlying member method code with example usage: obj.copy_defaults_from_argparse(parser, args, namespace, parsed_args) without return types