og_handlers(cls):
        # https://stackoverflow.com/questions/37703609/using-python-logging-with-aws-lambda
        root = logging.getLogger()
        if root.handlers:
            for handler in root.handlers:
                root.removeHandler(handler)

    def handle(self, request: Request):
        body: str = request.raw_body.decode(&#34;utf-8&#34;) if request.raw_body else &#34;&#34;  # type: ignore[union-attr]
        self.logger.debug(f&#34;Incoming request: {request.to_dict()}, body: {body}&#34;)