Commit 0f3f4db
authored
[BREAKING] Python: Refactor workflow events to unified discriminated union pattern (#3690)
* Refactor events
* Merge main
* Fixes
* Cleanup
* Update samples and tests
* Remove unused imports
* PR feedback
* Merge main. Add properties for events to help typing
* Formatting
* Cleanup
* use builtins.type to avoid shadowing by WorkflowEvent.type attribute
* Final improvements1 parent 09f59b2 commit 0f3f4db
File tree
127 files changed
+1634
-1691
lines changed- python
- packages
- core
- agent_framework
- _workflows
- orchestrations
- tests/workflow
- declarative/tests
- devui
- agent_framework_devui
- tests/devui
- lab/lightning/tests
- orchestrations
- agent_framework_orchestrations
- tests
- samples
- autogen-migration/orchestrations
- demos/workflow_evaluation
- getting_started
- observability
- orchestrations
- workflows
- _start-here
- agents
- checkpoint
- composition
- control-flow
- declarative
- customer_support
- deep_research
- function_tools
- human_in_loop
- marketing
- student_teacher
- human-in-the-loop
- observability
- orchestration
- parallelism
- state-management
- tool-approval
- semantic-kernel-migration
- orchestrations
- processes
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
127 files changed
+1634
-1691
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2135 | 2135 | | |
2136 | 2136 | | |
2137 | 2137 | | |
| 2138 | + | |
| 2139 | + | |
| 2140 | + | |
2138 | 2141 | | |
2139 | 2142 | | |
2140 | 2143 | | |
| |||
Lines changed: 2 additions & 24 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | 34 | | |
42 | 35 | | |
43 | 36 | | |
44 | | - | |
45 | | - | |
46 | | - | |
| 37 | + | |
47 | 38 | | |
48 | | - | |
49 | | - | |
50 | 39 | | |
51 | 40 | | |
52 | 41 | | |
| |||
96 | 85 | | |
97 | 86 | | |
98 | 87 | | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | 88 | | |
104 | 89 | | |
105 | 90 | | |
| |||
108 | 93 | | |
109 | 94 | | |
110 | 95 | | |
111 | | - | |
112 | 96 | | |
113 | 97 | | |
114 | 98 | | |
115 | 99 | | |
116 | 100 | | |
117 | | - | |
118 | | - | |
119 | 101 | | |
120 | 102 | | |
121 | 103 | | |
| |||
132 | 114 | | |
133 | 115 | | |
134 | 116 | | |
| 117 | + | |
135 | 118 | | |
136 | 119 | | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | 120 | | |
141 | 121 | | |
142 | 122 | | |
143 | | - | |
144 | | - | |
145 | 123 | | |
146 | 124 | | |
147 | 125 | | |
| |||
0 commit comments