Skip to content

Commit 4d25d2f

Browse files
committed
Allow links to be attached to event in both places
1 parent bc6a24a commit 4d25d2f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

tests/nexus/test_workflow_caller.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1136,7 +1136,6 @@ def _get_links_from_workflow_execution_started_event(
11361136
) -> list[temporalio.api.common.v1.Link]:
11371137
[callback] = event.workflow_execution_started_event_attributes.completion_callbacks
11381138
if links := callback.links:
1139-
assert not event.links, "Did not expect both callback.links and event.links"
11401139
return list(links)
11411140
else:
11421141
return list(event.links)

0 commit comments

Comments
 (0)