Fix imports for durabletask (#3345)

This commit is contained in:
Laveesh Rohra
2026-01-21 14:38:37 -08:00
committed by GitHub
Unverified
parent e032133748
commit ff839435a2
19 changed files with 434 additions and 323 deletions
@@ -14,7 +14,7 @@ import asyncio
import logging
import os
from agent_framework_durabletask import DurableAIAgentClient
from agent_framework.azure import DurableAIAgentClient
from azure.identity import DefaultAzureCredential
from durabletask.azuremanaged.client import DurableTaskSchedulerClient
@@ -13,8 +13,7 @@ import asyncio
import logging
import os
from agent_framework.azure import AzureOpenAIChatClient
from agent_framework_durabletask import DurableAIAgentWorker
from agent_framework.azure import AzureOpenAIChatClient, DurableAIAgentWorker
from azure.identity import AzureCliCredential, DefaultAzureCredential
from durabletask.azuremanaged.worker import DurableTaskSchedulerWorker
@@ -15,7 +15,7 @@ import asyncio
import logging
import os
from agent_framework_durabletask import DurableAIAgentClient
from agent_framework.azure import DurableAIAgentClient
from azure.identity import DefaultAzureCredential
from durabletask.azuremanaged.client import DurableTaskSchedulerClient
@@ -15,8 +15,7 @@ import logging
import os
from typing import Any
from agent_framework.azure import AzureOpenAIChatClient
from agent_framework_durabletask import DurableAIAgentWorker
from agent_framework.azure import AzureOpenAIChatClient, DurableAIAgentWorker
from azure.identity import AzureCliCredential, DefaultAzureCredential
from durabletask.azuremanaged.worker import DurableTaskSchedulerWorker
@@ -20,7 +20,7 @@ import os
from datetime import timedelta
import redis.asyncio as aioredis
from agent_framework_durabletask import DurableAIAgentClient
from agent_framework.azure import DurableAIAgentClient
from azure.identity import DefaultAzureCredential
from durabletask.azuremanaged.client import DurableTaskSchedulerClient
@@ -19,8 +19,12 @@ from datetime import timedelta
import redis.asyncio as aioredis
from agent_framework import AgentResponseUpdate
from agent_framework.azure import AzureOpenAIChatClient
from agent_framework_durabletask import AgentCallbackContext, AgentResponseCallbackProtocol, DurableAIAgentWorker
from agent_framework.azure import (
AgentCallbackContext,
AgentResponseCallbackProtocol,
AzureOpenAIChatClient,
DurableAIAgentWorker,
)
from azure.identity import AzureCliCredential, DefaultAzureCredential
from durabletask.azuremanaged.worker import DurableTaskSchedulerWorker
@@ -16,8 +16,7 @@ import logging
import os
from agent_framework import AgentResponse
from agent_framework.azure import AzureOpenAIChatClient
from agent_framework_durabletask import DurableAIAgentOrchestrationContext, DurableAIAgentWorker
from agent_framework.azure import AzureOpenAIChatClient, DurableAIAgentOrchestrationContext, DurableAIAgentWorker
from azure.identity import AzureCliCredential, DefaultAzureCredential
from durabletask.task import OrchestrationContext, Task
from durabletask.azuremanaged.worker import DurableTaskSchedulerWorker
@@ -17,8 +17,7 @@ import os
from typing import Any
from agent_framework import AgentResponse
from agent_framework.azure import AzureOpenAIChatClient
from agent_framework_durabletask import DurableAIAgentOrchestrationContext, DurableAIAgentWorker
from agent_framework.azure import AzureOpenAIChatClient, DurableAIAgentOrchestrationContext, DurableAIAgentWorker
from azure.identity import AzureCliCredential, DefaultAzureCredential
from durabletask.task import OrchestrationContext, when_all, Task
from durabletask.azuremanaged.worker import DurableTaskSchedulerWorker
@@ -17,8 +17,7 @@ import os
from typing import Any, cast
from agent_framework import AgentResponse
from agent_framework.azure import AzureOpenAIChatClient
from agent_framework_durabletask import DurableAIAgentOrchestrationContext, DurableAIAgentWorker
from agent_framework.azure import AzureOpenAIChatClient, DurableAIAgentOrchestrationContext, DurableAIAgentWorker
from azure.identity import AzureCliCredential, DefaultAzureCredential
from durabletask.task import ActivityContext, OrchestrationContext, Task
from durabletask.azuremanaged.worker import DurableTaskSchedulerWorker
@@ -18,8 +18,7 @@ import os
from typing import Any, cast
from agent_framework import AgentResponse
from agent_framework.azure import AzureOpenAIChatClient
from agent_framework_durabletask import DurableAIAgentOrchestrationContext, DurableAIAgentWorker
from agent_framework.azure import AzureOpenAIChatClient, DurableAIAgentOrchestrationContext, DurableAIAgentWorker
from azure.identity import AzureCliCredential, DefaultAzureCredential
from durabletask.task import ActivityContext, OrchestrationContext, Task, when_any # type: ignore
from durabletask.azuremanaged.worker import DurableTaskSchedulerWorker