We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55f2acd commit 48b3cd9Copy full SHA for 48b3cd9
temporalio/workflow.py
@@ -1512,6 +1512,13 @@ def _apply_to_class(
1512
f"Multiple update methods found for {defn_name} "
1513
f"(at least on {name} and {updates[update_defn.name].fn.__name__})"
1514
)
1515
+ elif update_defn.validator and not _parameters_identical_up_to_naming(
1516
+ update_defn.fn, update_defn.validator
1517
+ ):
1518
+ issues.append(
1519
+ f"Update validator method {update_defn.validator.__name__} parameters "
1520
+ f"do not match update method {update_defn.fn.__name__} parameters"
1521
+ )
1522
else:
1523
updates[update_defn.name] = update_defn
1524
0 commit comments