[release] 0.6.9

This commit is contained in:
Maxime Alves LIRMM 2022-03-02 16:46:32 +01:00
parent adf7f872b6
commit 84179743a6
4 changed files with 5 additions and 4 deletions

View File

@ -1,5 +1,9 @@
# HalfAPI # HalfAPI
## 0.6.9
- Hide data fields in args_check logs
## 0.6.8 ## 0.6.8
- Fix testing lib for domains (add default secret and debug option) - Fix testing lib for domains (add default secret and debug option)

View File

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

View File

@ -94,8 +94,6 @@ def args_check(fct):
kwargs['data'] = data kwargs['data'] = data
logger.debug('args_check %s:%s %s %s', fct.__module__, fct.__name__, args, kwargs)
return await fct(req, *args, **kwargs) return await fct(req, *args, **kwargs)
return caller return caller

View File

@ -43,7 +43,6 @@ def JSONRoute(data: Any) -> Coroutine:
async function async function
""" """
async def wrapped(request, *args, **kwargs): async def wrapped(request, *args, **kwargs):
logger.debug('JSONRoute data: %s', data)
return ORJSONResponse(data) return ORJSONResponse(data)
return wrapped return wrapped