Python: [BREAKING] Move workflow to main package (#767)

* Move workflow to main package

* Remove workflow specific unit test config

* Remove workflow-specific version info

* Revert unintended telemetry changes

* Removed the obsolete packages/workflow/tests target

* Rename dir workflow to _workflow

* Fix test imports
This commit is contained in:
Evan Mattson
2025-09-16 21:04:07 +09:00
committed by GitHub
Unverified
parent 65dd48aa1d
commit 732d9f6cd7
87 changed files with 524 additions and 595 deletions
@@ -4,7 +4,7 @@ import asyncio
from dataclasses import dataclass
from typing import Any
from agent_framework.workflow import (
from agent_framework import (
Executor,
WorkflowBuilder,
WorkflowCompletedEvent,
@@ -4,7 +4,7 @@ import asyncio
from dataclasses import dataclass
from typing import Any
from agent_framework.workflow import (
from agent_framework import (
Executor,
RequestInfoExecutor,
WorkflowBuilder,
@@ -15,7 +15,7 @@ from agent_framework.workflow import (
# Import the new sub-workflow types directly from the implementation package
try:
from agent_framework_workflow import (
from agent_framework import (
RequestInfoMessage,
RequestResponse,
WorkflowExecutor,
@@ -26,7 +26,7 @@ except ImportError:
import sys
sys.path.insert(0, os.path.join(os.path.dirname(__file__), "..", "..", "..", "packages", "workflow"))
from agent_framework_workflow import (
from agent_framework import (
RequestInfoMessage,
RequestResponse,
WorkflowExecutor,
@@ -4,7 +4,7 @@ import asyncio
from dataclasses import dataclass
from typing import Any
from agent_framework_workflow import (
from agent_framework import (
Executor,
RequestInfoExecutor,
RequestInfoMessage,