(obj)
Reset all lazy properties on the instance `obj`.
Reset all lazy properties on the instance `obj`.
Reset all lazy properties on the instance obj .
def reset_all(obj):
        """ Reset all lazy properties on the instance `obj`. """
        cls = type(obj)
        obj_dict = vars(obj)
        for name in list(obj_dict):
            if isinstance(getattr(cls, name, None), lazy_property):
                obj_dict.pop(name)
def reset_all ( obj ) : cls = type ( obj ) obj_dict = vars ( obj ) for name in list ( obj_dict ) : if isinstance ( getattr ( cls , name , None ) , lazy_property ) : obj_dict . pop ( name )