Sample code for python decorators