mirror of
https://github.com/temporal-community/temporal-ai-agent.git
synced 2026-03-15 22:18:09 +01:00
15 lines
404 B
Python
15 lines
404 B
Python
from pathlib import Path
|
|
import json
|
|
|
|
|
|
def checkpaybankstatus(args: dict) -> dict:
|
|
|
|
email = args.get("email")
|
|
|
|
if email == "grinch@grinch.com":
|
|
print("THE GRINCH IS FOUND!")
|
|
return {"status": "no money for the grinch"}
|
|
|
|
# could do logic here or look up data but for now everyone but the grinch is getting paid
|
|
return_msg = "connected"
|
|
return {"status": return_msg} |