Skip to content

Commit 251289c

Browse files
committed
Apply Timestamp type alias
1 parent e0ab1b3 commit 251289c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pubsub/pubsub.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
HashTag = str
2323

2424
class Post(NamedTuple):
25-
timestamp: float
25+
timestamp: Timestamp
2626
user: User
2727
text: str
2828

0 commit comments

Comments
 (0)