Skip to content

Commit ecd5b1e

Browse files
committed
Add type annotation
1 parent 6fcc52c commit ecd5b1e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

polling/test_service.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
from collections import Counter
21
from dataclasses import dataclass
2+
from typing import Counter
33

44
from temporalio import activity
55

6-
attempts = Counter()
6+
attempts = Counter[str]()
77
ERROR_ATTEMPTS = 5
88

99

0 commit comments

Comments
 (0)