And why not use getattr(instance, 'some_variable') instead of instance.some_variable? setattr is assumed to provide ability to assign dynamic properties to instance. We know that our property name is NFSEN_CLASS_ADDRESS so why don't we use that knowledge?