17 lines
363 B
Python
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
|
|
}
|