def METHOD_NAME():
    description = """Scales a field by a constant factor."""
    spec = Specification(
        description=description,
        map_input_pin_spec={
            0: PinSpecification(
                name="field",
                type_names=["field", "fields_container"],
                optional=False,
                document="""Field or fields container with only one field
    is expected""",
            ),
            1: PinSpecification(
                name="ponderation",
                type_names=["double", "field"],
                optional=False,
                document="""Double/field scoped on overall""",
            ),
            2: PinSpecification(
                name="boolean",
                type_names=["bool"],
                optional=True,
                document="""Default is false. if set to true, output of
    scale is made dimensionless""",
            ),
        },
        map_output_pin_spec={
            0: PinSpecification(
                name="field",
                type_names=["field"],
                optional=False,
                document="""""",
            ),
        },
    )
    return spec