Making a decorator that accepts arguments https://www.pythonmorsels.com/making-decorator-accepts-arguments/