sureshdsk.dev

sureshdsk.dev

Series

Python Decorators


Articles in this series

Python Decorators 201

May 7, 20212 min read

In the previous article Python decorators 101 we learnt, how to create a simple function based decorator and how it works under the hood. In this article, we will improve the traceability and the readability of the decorator function. Let's add some...

Python Decorators 201
Class based decorators in python
Python decorators with parameters
Python decorator to measure execution time
Memoization decorator in python
Flask decorator to measure time taken for a request