def __init__(self, instance=None):
self._ns = dict()<EOL>self._instance = instance<EOL>self._instance_ns = (self._instance and<EOL>self._instance.__dict__.get(self.NS_ATTRIBUTE))<EOL>
_instance is the self of the method call if the class is a tg.Generic