lisa.utils.update_params_from#

lisa.utils.update_params_from(f, ignore=None)[source]#

Decorator to update the signature of the decorated function using annotation and default values from the specified f function.

If the parameter already has a default value, it will be used instead of copied-over. Same goes for annotations.