Skip to content

Python: [Bug]: Case and Default should support SupportsAgentRun as the target #3974

Closed

Description

Description

In the workflow package, the type hint of target for Case and Default is currently Executor | str, but it should also include SupportsAgentRun as any agent gets wrapped in an executor.

Code Sample

Error Messages / Stack Traces

Package Versions

1.0.0b260212

Python Version

3.13

Additional Context

No response

Metadata

Metadata

Labels

bugUsage: [Issues], Target: all issues (Legacy, prefer issue type: bug)pythonUsage: [Issues, PRs], Target: PythonworkflowsUsage: [Issues, PRs], Target: Workflows

Type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions