Traceback (most recent call last):


 "/usr/local/lib/python3.5/dist-packages/flask_restplus/api.py", line 483, in __schema__

self._schema = Swagger(self).as_dict()


 "/usr/local/lib/python3.5/dist-packages/flask_restplus/swagger.py", line 177, in as_dict

paths[extract_path(url)] = self.serialize_resource(ns, resource, url, kwargs)


 "/usr/local/lib/python3.5/dist-packages/flask_restplus/swagger.py", line 336, in serialize_resource

doc = self.extract_resource_doc(resource, url)


 "/usr/local/lib/python3.5/dist-packages/flask_restplus/swagger.py", line 255, in extract_resource_doc

method_params = self.expected_params(method_doc)


 "/usr/local/lib/python3.5/dist-packages/flask_restplus/swagger.py", line 291, in expected_params

parser_params = OrderedDict((p['name'], p) for p in expect.__schema__)


 "/usr/local/lib/python3.5/dist-packages/flask_restplus/reqparse.py", line 405, in __schema__

param = arg.__schema__


 "/usr/local/lib/python3.5/dist-packages/flask_restplus/reqparse.py", line 269, in __schema__

'in': LOCATIONS.get(self.location, 'query')
TypeError: unhashable type: 'list'

Traceback (most recent call last):


 "/Users/pradeepkumars/Programs/MonkeyType/monkeytype/tracing.py", line 261, in __call__

self.handle_return(frame, arg)


 "/Users/pradeepkumars/Programs/MonkeyType/monkeytype/tracing.py", line 236, in handle_return

typ = get_type(arg, max_typed_dict_size=self.max_typed_dict_size)


 "/Users/pradeepkumars/Programs/MonkeyType/monkeytype/typing.py", line 177, in get_type

return Type[obj]


 "/opt/homebrew/Cellar/python37/3.7.5_3/Frameworks/Python.framework/Versions/3.7/lib/python3.7/typing.py", line 254, in inner

return func(*args, **kwds)


 "/opt/homebrew/Cellar/python37/3.7.5_3/Frameworks/Python.framework/Versions/3.7/lib/python3.7/typing.py", line 629, in __getitem__

params = tuple(_type_check(p, msg) for p in params)


 "/opt/homebrew/Cellar/python37/3.7.5_3/Frameworks/Python.framework/Versions/3.7/lib/python3.7/typing.py", line 629, in <genexpr>

params = tuple(_type_check(p, msg) for p in params)


 "/opt/homebrew/Cellar/python37/3.7.5_3/Frameworks/Python.framework/Versions/3.7/lib/python3.7/typing.py", line 138, in _type_check

raise TypeError(f"Plain {arg} is not valid as type argument")
TypeError: Plain <class 'typing._Protocol'> is not valid as type argument
