def METHOD_NAME():
    @wandb_log
    def add(a: float, b: float) -> float:
        return a + b
    def add2(a: float, b: float) -> float:
        return a + b
    add = create_component_from_func(add)
    add2 = create_component_from_func(add2)
    add_task = add(1, 2)
    add2_task = add2(1, 2)
    add_task_spec = add_task.component_ref.spec
    add2_task_spec = add2_task.component_ref.spec
    assert add_task_spec.inputs == [InputSpec("a", "Float"), InputSpec("b", "Float")]
    assert add_task_spec.outputs == [
        OutputSpec("mlpipeline_ui_metadata", None),
        OutputSpec("Output", "Float"),
    ]
    assert add2_task_spec.inputs == [InputSpec("a", "Float"), InputSpec("b", "Float")]
    assert add2_task_spec.outputs == [OutputSpec("Output", "Float")]