Files
temporal-ai-agent/scripts/send_confirm.py
Steve Androulakis eb06cf5c8d Enhance Dev Experience and Code Quality (#41)
* Format codebase to satisfy linters

* fixing pylance and ruff-checked files

* contributing md, and type and formatting fixes

* setup file capitalization

* test fix
2025-06-01 08:54:59 -07:00

21 lines
431 B
Python

import asyncio
import sys
from shared.config import get_temporal_client
async def main():
# Connect to Temporal and signal the workflow
client = await get_temporal_client()
workflow_id = "agent-workflow"
await client.get_workflow_handle(workflow_id).signal("confirm")
if __name__ == "__main__":
if len(sys.argv) != 1:
print("Usage: python send_confirm.py'")
else:
asyncio.run(main())