1. Python Decorators
  2. Decorators
    1. Use cases for decorators in Python
    2. Decorators: simple example
    3. Decorators - Pytest
    4. Decorators - Flask
    5. Testing Flask
  3. Core built-in decorators
    1. OOP - classmethod - staticmethod
  4. Functools
    1. Decorators caching - no cache
    2. Decorators caching - with lru_cache
    3. LRU - Least recently used cache
    4. LRU - Least recently used cache
  5. Functions and closures
    1. Function assignment
    2. Function assignment - alias print to say
    3. Function assignment - don't do this
    4. Passing functions as parameters
    5. Traversing directory tree
    6. Declaring Functions inside other function
    7. Returning a new function from a function
    8. Returning a closure
  6. Decorator
    1. A simple function - use as it is
    2. wrapper
    3. Use wrapper as a function
    4. Use wrapper as a decorator
    5. Decorator to register function
    6. A recursive Fibonacci
    7. trace fibo
    8. tron decorator
    9. Decorate with direct call
    10. Decorate with parameter
    11. Decorator accepting parameter
    12. Decorate function with any signature
    13. Decorate function with any signature - implementation
    14. Decorate function with any signature - skeleton
    15. Decorate function with any signature - skeleton with name
    16. Functool - partial
    17. Exercise: Logger decorator
    18. Exercise: decorators decorator
    19. Solution: Logger decorator
    20. Solution: Logger decorator (testing)
    21. Solution decorators decorator
    22. A list of functions
    23. Insert element in sorted list using insort