kedro.pipeline.decorators.log_time

kedro.pipeline.decorators.log_time(func)[source]

A function decorator which logs the time taken for executing a function.

Parameters

func (Callable) – The function to be logged.

Return type

Callable

Returns

A wrapped function, which will execute the provided function and log the running time.