argclz.core.copy_argument#

argclz.core.copy_argument(opt, ref, **kwargs)[source]#

copy argument from ref to opt

Parameters:
  • opt (T) – any instance that contains argument.

  • ref – any instance that contains argument.

  • kwargs – overwrite argument value mapping.

Returns:

opt itself.

Return type:

T