This commit is contained in:
Waylon Walker 2025-11-22 22:10:09 -06:00
parent bae554d2d5
commit 4f2d1c322e
11 changed files with 136 additions and 2 deletions

18
people/handler.py Normal file
View file

@ -0,0 +1,18 @@
def detect_person(url):
return "Hello, World!"
def handle(req):
"""handle a request to the function
Args:
req (str): request body
"""
if not req:
raise Exception("Empty request")
if isinstance(req, str):
req = req.encode("utf-8")
url = req
return detect_person(url)