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(
16571657 ):
16581658 # Old var-arg form
16591659 return False
1660+
16601661 if (
16611662 not arg_types
16621663 or len (arg_types ) != 2
16631664 or arg_types [0 ] is not str
16641665 or arg_types [1 ] is not Sequence [temporalio .common .RawValue ]
16651666 ):
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 )} " )
16661678 raise RuntimeError (
16671679 "Dynamic handler must have 3 arguments: self, str, and Sequence[temporalio.common.RawValue]"
16681680 )
You can’t perform that action at this time.
0 commit comments