Python Decorator Magic: Static Factory Methods And Private Constructors
6 min readJun 25, 2022
This article shows an alternative approach to creating static factory methods in Python by simulating the privacy behavior of constructors during runtime.
A more detailed implementation can be found in my Github repository.