@property<EOL><INDENT>def context(self):<DEDENT>
type = "<STR_LIT>" if self.key is None else "<STR_LIT>"<EOL>data = {<EOL>"<STR_LIT:type>": type,<EOL>"<STR_LIT>": self.type,<EOL>}<EOL>if self.key:<EOL><INDENT>data["<STR_LIT>"] = self.key<EOL>data["<STR_LIT>"] = self.secret<EOL><DEDENT>if self.name:<EOL><INDENT>data["<STR_LIT>"] = self.name<EOL><DEDENT>if self.logo:<EOL><INDENT>data["<STR_LIT>"] = self.logo<EOL><DEDENT>if self.contacts:<EOL><INDENT>data["<STR_LIT>"] = "<STR_LIT:U+0020>".join(self.contacts)<EOL><DEDENT>if self.redirect:<EOL><INDENT>data["<STR_LIT>"] = "<STR_LIT:U+0020>".join(self.redirect)<EOL><DEDENT>return json.dumps(data)<EOL>
Provides request context