mirror of
https://github.com/temporal-community/temporal-ai-agent.git
synced 2026-03-15 05:58: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
310 B
Python
11 lines
310 B
Python
def book_pto(args: dict) -> dict:
|
|
email = args.get("email")
|
|
start_date = args.get("start_date")
|
|
end_date = args.get("end_date")
|
|
|
|
print(
|
|
f"[BookPTO] Totally would send an email confirmation of PTO from {start_date} to {end_date} to {email} here!"
|
|
)
|
|
|
|
return {"status": "success"}
|