def get(self, key, default=None):
        r = self._get_raw_input().get(key, default)
        if isinstance(r, list):
            return r[0]
        return r
The same as request[key], but return default value if key is not found.
dataset/ETHPy150Open michaelliao/transwarp/transwarp/web.py/Request.get