Commit 4a7cd24
committed
Fix falsy values being silently dropped in client methods
raise_orchestration_event, terminate_orchestration, and signal_entity used
'if data/output/input' checks which silently convert valid falsy values
(0, False, '', []) to None. Changed to 'is not None' checks to match the
existing pattern in schedule_new_orchestration.1 parent 424ffa9 commit 4a7cd24
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
199 | 199 | | |
200 | 200 | | |
201 | 201 | | |
202 | | - | |
| 202 | + | |
203 | 203 | | |
204 | 204 | | |
205 | 205 | | |
| |||
209 | 209 | | |
210 | 210 | | |
211 | 211 | | |
212 | | - | |
| 212 | + | |
213 | 213 | | |
214 | 214 | | |
215 | 215 | | |
| |||
237 | 237 | | |
238 | 238 | | |
239 | 239 | | |
240 | | - | |
| 240 | + | |
241 | 241 | | |
242 | 242 | | |
243 | 243 | | |
| |||
0 commit comments