mirror of
https://github.com/temporal-community/temporal-ai-agent.git
synced 2026-03-17 06:58:09 +01:00
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
This commit is contained in:
committed by
GitHub
parent
e35181b5ad
commit
eb06cf5c8d
@@ -1,12 +1,10 @@
|
||||
import asyncio
|
||||
|
||||
import concurrent.futures
|
||||
|
||||
from temporalio.worker import Worker
|
||||
|
||||
from activities.tool_activities import dynamic_tool_activity
|
||||
|
||||
from shared.config import get_temporal_client, TEMPORAL_LEGACY_TASK_QUEUE
|
||||
from shared.config import TEMPORAL_LEGACY_TASK_QUEUE, get_temporal_client
|
||||
|
||||
|
||||
async def main():
|
||||
@@ -24,7 +22,9 @@ async def main():
|
||||
activity_executor=activity_executor,
|
||||
)
|
||||
|
||||
print(f"Starting legacy worker, connecting to task queue: {TEMPORAL_LEGACY_TASK_QUEUE}")
|
||||
print(
|
||||
f"Starting legacy worker, connecting to task queue: {TEMPORAL_LEGACY_TASK_QUEUE}"
|
||||
)
|
||||
await worker.run()
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user