Curious Case of Decorators in Python
Learn to use Functions as objects in Python
Published in
7 min readOct 1, 2020
The first time I came across the decorators in Python was when I was deploying my model using Flask. I was going through the Flask documentation and came across a decorator function, which reads like @app.route(“/”) . I was intrigued and started reading more about it and realized that concept of decorators is very interesting…