p4ward.tools.decorators#
- p4ward.tools.decorators.track_run(func)#
Track if a function has been called by checking if its name is in run_tracker if not, run it, then add its name to the list
- p4ward.tools.decorators.user_choice(func)#
For each (applicable) function, there will be choice made by the user of whether to run it or not. This decorator makes it easy to implement this for every single one of those functions.