setup instructions for money movement/real workflow or fake, and some minor code cleanup

This commit is contained in:
Joshua Smith
2025-03-27 11:22:17 -04:00
parent 64f8a34d19
commit 50d3e3d638
2 changed files with 7 additions and 3 deletions

View File

@@ -78,10 +78,7 @@ async def move_money(args: dict) -> dict:
# Async function to start workflow
async def start_workflow(amount_cents: int, from_account_name: str, to_account_name: str)-> str:
# Connect to Temporal
client = await get_temporal_client()
start_real_workflow = os.getenv("FIN_START_REAL_WORKFLOW")
if start_real_workflow is not None and start_real_workflow.lower() == "false":