We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 28bd785 commit fc50880Copy full SHA for fc50880
aocd/types.py
@@ -1,12 +1,12 @@
1
from __future__ import annotations
2
3
from datetime import timedelta
4
-from numbers import Number
+from typing import Any
5
from typing import Literal
6
from typing import TypedDict
7
-from typing import Union
8
9
-AnswerValue = Union[str, Number]
+
+AnswerValue = Any
10
"""The answer to a puzzle, either a string or a number. Numbers are coerced to a string"""
11
PuzzlePart = Literal["a", "b"]
12
"""The part of a given puzzle, a or b"""
0 commit comments