Python descriptor
Suppose you create a class 'Book' and an attribute 'name'. You create an object of that class. With object, you can directly get or set the name attribute. You could also set any value without any validation.
class Book:
def __init__(self):
pas...
kapilg.hashnode.dev3 min read