__call__: You can Call your Class Instance like a Function. Here is how

If you want to call your class instance like a function, add __call__method to your class. Above is an example of how it works.

Scroll to Top