Skip to content

Commit c9ced65

Browse files
committed
fix: type check for on_callback_created in executor test
1 parent c49f42f commit c9ced65

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/executor_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,12 +78,12 @@ def on_step_retry_scheduled(
7878
}
7979

8080
def on_callback_created(
81-
self, execution_arn: str, operation_id: str, callback_id: str
81+
self, execution_arn: str, operation_id: str, callback_token: CallbackToken
8282
) -> None:
8383
"""Capture callback creation events."""
8484
self.callback_creations[execution_arn] = {
8585
"operation_id": operation_id,
86-
"callback_id": callback_id,
86+
"callback_id": callback_token.to_str(),
8787
}
8888

8989
def on_callback_completed(

0 commit comments

Comments
 (0)