Skip to content

Commit

Permalink
fix: Fix arg list
Browse files Browse the repository at this point in the history
  • Loading branch information
whiterabbit1983 committed May 16, 2024
1 parent aa808cd commit 8cc62d4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions agents-api/agents_api/workflows/embed_docs.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/usr/bin/env python3


from datetime import timedelta
from temporalio import workflow

with workflow.unsafe.imports_passed_through():
Expand All @@ -13,7 +14,6 @@ class EmbedDocsWorkflow:
async def run(self, doc_id: str, title: str, content: list[str]) -> None:
return await workflow.execute_activity(
embed_docs,
doc_id,
title,
content,
args=[doc_id, title, content],
schedule_to_close_timeout=timedelta(seconds=600),
)

0 comments on commit 8cc62d4

Please sign in to comment.