def set_context ( self , data ) : for key in data : setattr ( self . local_context , key , data [ key ] )
python how to merge into locals
Load Context with data
def set_context(self, data):
        """Load Context with data"""
        for key in data:
            setattr(self.local_context, key, data[key])