mirror of
https://github.com/temporal-community/temporal-ai-agent.git
synced 2026-03-15 14:08:08 +01:00
* Format codebase to satisfy linters * fixing pylance and ruff-checked files * contributing md, and type and formatting fixes * setup file capitalization * test fix
11 lines
361 B
Python
11 lines
361 B
Python
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}
|