def METHOD_NAME(
    inits: Union[
        str, os.PathLike, Mapping[str, Any], float, int, List[Any], None
    ],
    *,
    allow_multiple: bool = True,
    id: int = 1,
) -> Iterator[Union[str, float, int, None]]:
    if isinstance(inits, (float, int)):
        yield inits
        return
    if allow_multiple:
        yield from _temp_multiinput(inits, base=id)
    else:
        if isinstance(inits, list):
            raise ValueError('Expected single initialization, got list')
        yield from _temp_single_json(inits)