File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -1657,12 +1657,24 @@ def _assert_dynamic_handler_args(
1657
1657
):
1658
1658
# Old var-arg form
1659
1659
return False
1660
+
1660
1661
if (
1661
1662
not arg_types
1662
1663
or len (arg_types ) != 2
1663
1664
or arg_types [0 ] is not str
1664
1665
or arg_types [1 ] is not Sequence [temporalio .common .RawValue ]
1665
1666
):
1667
+ print (arg_types )
1668
+ if arg_types :
1669
+ print (arg_types [0 ], id (arg_types [0 ]), str , id (str ))
1670
+ print (
1671
+ arg_types [1 ],
1672
+ id (arg_types [1 ]),
1673
+ Sequence [temporalio .common .RawValue ],
1674
+ id (Sequence [temporalio .common .RawValue ]),
1675
+ )
1676
+ else :
1677
+ print (f"arg_types is falsey: { type (arg_types )} " )
1666
1678
raise RuntimeError (
1667
1679
"Dynamic handler must have 3 arguments: self, str, and Sequence[temporalio.common.RawValue]"
1668
1680
)
You can’t perform that action at this time.
0 commit comments