def prepare(self, **kwargs):
for k, v in kwargs.items():<EOL><INDENT>setattr(self, k, v)<EOL><DEDENT>if not self.is_initialized:<EOL><INDENT>self.initialize()<EOL><DEDENT>if not self.proxy_is_active:<EOL><INDENT>self.activate_proxy()<EOL><DEDENT>
Prepare for rendering