Files
skybridge/faas/test_functions/streaming_logs.py
2025-08-31 17:01:07 -04:00

17 lines
363 B
Python

import time
def handler(input, context):
print("Starting function execution")
for i in range(1, 11):
print(f"Processing step {i}")
# Wait 1 second between log outputs
time.sleep(1)
print("Function execution completed")
return {
"message": "Function executed successfully",
"steps": 10
}