[release] 0.6.11

This commit is contained in:
Maxime Alves LIRMM 2022-03-14 15:16:06 +01:00
parent f7879c6388
commit de72e469d2
3 changed files with 8 additions and 2 deletions

View File

@ -1,5 +1,9 @@
# HalfAPI
## 0.6.11
- Fix "request" has no "path_params" attribute bug
## 0.6.10
- Add "x-out" field in HTTP headers when "out" parameters are specified for a

View File

@ -1,5 +1,5 @@
#!/usr/bin/env python3
__version__ = '0.6.10'
__version__ = '0.6.11'
def version():
return f'HalfAPI version:{__version__}'

View File

@ -28,7 +28,9 @@ def connected(fct=public):
or not hasattr(req.user, 'is_authenticated')):
return False
if hasattr(req, 'path_params'):
return fct(req, **{**kwargs, **req.path_params})
return fct(req, **{**kwargs})
return caller