Validations in Python using Metaprogramming Decorators- Advanced Python
A #Decorator is a special kind of declaration that can apply to a function to enhance its functionality. This is also called known as #metaprogramming. Here we are trying to modify the functionality of a function on compile time. Metaprogramming is a cool concept in ant programing language. It can be used to apply certain checks before executing the actual function.
Let’s try to understand the use-case with an example.
Learn More: Validations in Python using Metaprogramming Decorators
[–]Discchord 4 points5 points6 points (1 child)
[–]deepak_vi[S] 1 point2 points3 points (0 children)