def METHOD_NAME(settings: Union[Text, Mapping] = "new") -> Callable:
    """Returns a function for merging new investments into assets.
    Available merging functions should be registered with
    :py:func:`@register_final_asset_transform<register_final_asset_transform>`.
    """
    """Returns a function for performing initial housekeeping.
    For instance, remove technologies with no capacity now or in the future.
    Available housekeeping functions should be registered with
    :py:func:`@register_initial_asset_transform<register_initial_asset_transform>`.
    """
    if isinstance(settings, Text):
        name = settings
        params: Mapping = {}
    else:
        params = {k: v for k, v in settings.items() if k != "name"}
        name = settings["name"]
    transform = FINAL_ASSET_TRANSFORM[name]
    def final_assets_transform(old_assets: Dataset, new_assets):
        return transform(old_assets, new_assets, **params)
    final_assets_transform.__name__ = name
    return final_assets_transform