[release] 0.6.9
This commit is contained in:
parent
adf7f872b6
commit
84179743a6
|
@ -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)
|
||||||
|
|
|
@ -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__}'
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue