Closed pcrespov closed 5 years ago
File "/home/crespo/devp/osparc-simcore/.venv/lib/python3.6/site-packages/aiohttp_session/__init__.py", line 149, in factory
response = await handler(request)
File "/home/crespo/devp/osparc-simcore/.venv/lib/python3.6/site-packages/aiohttp_apiset/middlewares.py", line 96, in process
response = await handler(request)
File "/home/crespo/devp/osparc-simcore/services/web/server/src/simcore_service_webserver/rest/middlewares.py", line 12, in handle_errors
response = await handler(request)
File "/home/crespo/devp/osparc-simcore/.venv/lib/python3.6/site-packages/aiohttp_apiset/swagger/route.py", line 90, in handler
response = await self._handler(**parameters)
File "/home/crespo/devp/osparc-simcore/.venv/lib/python3.6/site-packages/aiohttp_security/api.py", line 136, in wrapped
request = args[-1]
options
aiohttp_security
<-- did PR aio-libs/aiohttp-security#186
def wrapped(*args, **kwargs):
request = kwargs.get('request', args[-1] if args else None)
if not isinstance(request, web.BaseRequest):
msg = ("Incorrect decorator usage. "
"Expecting `def handler(request)` "
"or `def handler(self, request)`.")
raise RuntimeError(msg)
Focus: Unify services APIs paths and models (both architecture and development tools)
webserver-sdk
child of #19 and related with issue #148 blocks #188