class ChatMsg(object):

    def get(self):
        username = urllib.parse.unquote(self.request.get('username'))
roomname = urllib.parse.unquote(self.request.get('roomname'))
Google App Engine python - Self is not defined