arg – The argument passed to the component constructor. This could
be almost any type, including a scalar, dict, list, function,
generator, or None.
allow_generators (bool) – If False, then we will raise an exception if arg
is a generator
treat_sequences_as_mappings (bool) – If True, then if arg
is a sequence, we will treat it as if
it were a mapping (i.e., dict(enumerate(arg))
). Otherwise
sequences will be returned back as the value of the initializer.
arg_not_specified – If arg
is arg_not_specified
, then the function will
return None (and not an InitializerBase object).
additional_args (int) – The number of additional arguments that will be passed to any
function calls (provided before the index value).