time_execution

time_execution.decorator module

Time Execution decorator

class time_execution.decorator.time_execution(func=None, **params)

Bases: fqn_decorators.decorators.Decorator

after()

Allow performing an action after the function is called.

before()

Allow performing an action before the function is called.

get_exception()

Retrieve the exception

time_execution.decorator.write_metric(name, **metric)