Commit 264a8f4
fix: remove private _JSONTypeConverterUnhandled import from worker.py
This private symbol was used only as a return type annotation. In
some resolved versions of temporalio (within the >=1.18.2,<2 range),
this private name is not exported, causing an ImportError at worker
startup time in tutorial environments.
The sentinel value JSONTypeConverter.Unhandled (public API) is what
the method actually returns; the annotation is simplified to Any.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 6fa9d54 commit 264a8f4
1 file changed
+1
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
28 | 27 | | |
29 | 28 | | |
30 | 29 | | |
| |||
45 | 44 | | |
46 | 45 | | |
47 | 46 | | |
48 | | - | |
| 47 | + | |
49 | 48 | | |
50 | 49 | | |
51 | 50 | | |
| |||
0 commit comments