These are common function decorators I use when writing, testing, or debugging Python code. If you have an incredibly complex codebase, I recommend using something like a python IDE.
Import the python module and use the @
syntax to decorate functions.
If I have a model that takes a long time to train, I send a notification to my email when the function is done running like this:
import decorators as dec