{"action":"created","issue":{"url":"https://api.github.com/repos/wesbos/cobalt2-vscode/issues/109","repository_url":"https://api.github.com/repos/wesbos/cobalt2-vscode","labels_url":"https://api.github.com/repos/wesbos/cobalt2-vscode/issues/109/labels{/name}","comments_url":"https://api.github.com/repos/wesbos/cobalt2-vscode/issues/109/comments","events_url":"https://api.github.com/repos/wesbos/cobalt2-vscode/issues/109/events","html_url":"https://github.com/wesbos/cobalt2-vscode/issues/109","id":329165193,"node_id":"MDU6SXNzdWUzMjkxNjUxOTM=","number":109,"title":"class and def reserverd words are not colored diferently.","user":{"login":"wsantos","id":164633,"node_id":"MDQ6VXNlcjE2NDYzMw==","avatar_url":"https://avatars1.githubusercontent.com/u/164633?v=4","gravatar_id":"","url":"https://api.github.com/users/wsantos","html_url":"https://github.com/wsantos","followers_url":"https://api.github.com/users/wsantos/followers","following_url":"https://api.github.com/users/wsantos/following{/other_user}","gists_url":"https://api.github.com/users/wsantos/gists{/gist_id}","starred_url":"https://api.github.com/users/wsantos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wsantos/subscriptions","organizations_url":"https://api.github.com/users/wsantos/orgs","repos_url":"https://api.github.com/users/wsantos/repos","events_url":"https://api.github.com/users/wsantos/events{/privacy}","received_events_url":"https://api.github.com/users/wsantos/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-06-04T18:23:58Z","updated_at":"2018-06-04T18:31:33Z","closed_at":null,"author_association":"NONE","body":"This make confuse to read, would be nice to have different colors for `def` and `class`\r\n\r\n![image](https://user-images.githubusercontent.com/164633/40934480-d2d2a1f8-682c-11e8-95a7-5e6e81840dd7.png)\r\n"},"comment":{"url":"https://api.github.com/repos/wesbos/cobalt2-vscode/issues/comments/394453723","html_url":"https://github.com/wesbos/cobalt2-vscode/issues/109#issuecomment-394453723","issue_url":"https://api.github.com/repos/wesbos/cobalt2-vscode/issues/109","id":394453723,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NDQ1MzcyMw==","user":{"login":"wsantos","id":164633,"node_id":"MDQ6VXNlcjE2NDYzMw==","avatar_url":"https://avatars1.githubusercontent.com/u/164633?v=4","gravatar_id":"","url":"https://api.github.com/users/wsantos","html_url":"https://github.com/wsantos","followers_url":"https://api.github.com/users/wsantos/followers","following_url":"https://api.github.com/users/wsantos/following{/other_user}","gists_url":"https://api.github.com/users/wsantos/gists{/gist_id}","starred_url":"https://api.github.com/users/wsantos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wsantos/subscriptions","organizations_url":"https://api.github.com/users/wsantos/orgs","repos_url":"https://api.github.com/users/wsantos/repos","events_url":"https://api.github.com/users/wsantos/events{/privacy}","received_events_url":"https://api.github.com/users/wsantos/received_events","type":"User","site_admin":false},"created_at":"2018-06-04T18:31:33Z","updated_at":"2018-06-04T18:31:33Z","author_association":"NONE","body":"Here it's:\r\n\r\n```\r\nfrom django.conf import settings\r\nfrom django.http.request import QueryDict\r\nfrom django.utils.encoding import (\r\n    smart_bytes,\r\n    smart_text,\r\n)\r\n\r\nfrom ipware import get_client_ip\r\n\r\n\r\nclass MyMiddleware(MiddlewareMixin):\r\n\r\n    def process_response(self, request, response):\r\n\r\n        client_ip, _ = get_client_ip(request)\r\n        data = {\r\n            'ip': client_ip,\r\n            'user_agent': self.request.META.get('HTTP_USER_AGENT', '')\r\n        }\r\n\r\n        cookie_data = smart_text(\r\n            base64.b64encode(smart_bytes(json.dumps(data))))\r\n\r\n        response.set_cookie(\r\n            key='name',\r\n            value=cookie_data,\r\n            max_age=60,\r\n            domain=http_host or getattr(\r\n                settings, 'SESSION_COOKIE_DOMAIN', '.consumeraffairs.com'\r\n            )\r\n        )\r\n        return response\r\n```\r\n![image](https://user-images.githubusercontent.com/164633/40934802-e210725c-682d-11e8-919f-cff565a4d6ec.png)\r\n"}}
{"actor":{"display_login":"wsantos"}}