Skip to content

Commit c86e1c1

Browse files
committed
Lint
1 parent 076924d commit c86e1c1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/helpers/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import uuid
55
from contextlib import closing
66
from datetime import datetime, timedelta, timezone
7-
from typing import Any, Awaitable, Callable, Optional, Sequence, Type, TypeVar
7+
from typing import Any, Awaitable, Callable, Optional, Sequence, Type, TypeVar, Union
88

99
from temporalio.api.common.v1 import WorkflowExecution
1010
from temporalio.api.enums.v1 import EventType as EventType
@@ -314,7 +314,7 @@ async def print_interleaved_histories(
314314
where <elapsed_ms> is the number of milliseconds since the first event in any of the workflows.
315315
"""
316316
all_events: list[
317-
tuple[WorkflowHandle, HistoryEvent | str, int | None, datetime]
317+
tuple[WorkflowHandle, Union[HistoryEvent, str], Optional[int], datetime]
318318
] = []
319319
workflow_start_times: dict[WorkflowHandle, datetime] = {}
320320

0 commit comments

Comments
 (0)