"""Wrap marshmallow decorators to trap exceptions and log them."""defwrapper(func:Callable[...,Any])->Callable[...,Any]:@wraps(func)defwrapped(self,data:Any,**kwargs:Any)->Any:try:returnfunc(self,data,**kwargs)exceptException:logger.exception(getattr(func,"__name__",func))returndatareturndecorator(wrapped)returnwrapper
Search
From here you can search these documents. Enter your search terms below.