This lesson is from the Real Python video course by Christopher Bailey.
Decorators 101 Recap and Review
00:00 Hey! Congratulations on a job well done. You completed Decorators 101. Briefly, I’d like to review Section 3 with you. Section 3 was all about real-world examples, and you created a boilerplate template that you could reuse for the rest of the examples.
00:20 Next, you learned how you could time functions using a decorator.
00:28 Then you created a tool for debugging code that showed you the arguments coming in and out of functions.
00:39 You also learned how you could debug the use of convenience functions by wrapping a decorator around them. Next, if you needed to, you found a way that you could slow down code simply by adding a decorator, and added that to your tool belt.
00:58 And finally, you learned how to make a lightweight plugin architecture to register functions so that you can pull them out and reuse them later. Thanks again for joining me for this tour through Decorators 101.
You must own this product to join the conversation.