def METHOD_NAME(base_image: str = BASE_IMAGE,):
    """Decorator of kfp light component with customized parameters.
    Usage:
    ```python
    @light_component(base_image="python:3.7")
    def a_component(src: kfp.components.InputPath(), ...):
        ...
    ```
    """
    def wrapper(func: Callable):
        return kfp.components.create_component_from_func(
            func=func,
            base_image=base_image,
        )
    return wrapper