dbc7f9d08c4f47938be98a820a8.../README.md
2025-07-16 23:23:50 +00:00

13 lines
359 B
Markdown

import logging
# Configure the logginglogging.basicConfig(level=logging.INFO, format='%(asctime)s - %(levelname)s - %(message)s')
def main(request):
logging.info(f"Function called with request: {request}")
data = request.get_json(force=True)
logging.info(f"Received data: {data}")
return {"result": data.get("a", 0)+data.get("b", 0)}# python hello-world