Published onDecember 29, 2022Decorator & API Design PatternsAPIPythonDecoratorDesign-PatternsA decorator is a design pattern in Python that allows a user to add new functionality to an existing object without modifying its structure.