lass="ident">handle</span></span>(<span>self, event, context)</span>
</code></dt>
<dd>
<details class="source">
<summary>
<span>Expand source code</span>
</summary>
<pre><code class="python">def handle(self, event, context):
    self.logger.debug(f&#34;Incoming event: {event}, context: {context}&#34;)

    method = event.get(&#34;requestContext&#34;, {}).get(&#34;http&#34;, {}).get(&#34;method&#34;)
    if method is None:
        method = event.get(&#34;requestContext&#34;, {}).get(&#34;httpMethod&#34;)

  