We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9a7dbe commit c263db9Copy full SHA for c263db9
prelude_parser/types.py
@@ -1,6 +1,7 @@
1
-from __future__ import annotations
+# UP035 and UP006 ignored because Python 3.9 doesn't support the upgrade
2
3
from datetime import date, datetime
4
+from typing import Dict, List, Union # noqa: UP035
5
-FieldInfo = str | int | float | date | datetime | None
6
-FlatFormInfo = list[dict[str, FieldInfo]]
+FieldInfo = Union[str, int, float, date, datetime, None]
7
+FlatFormInfo = List[Dict[str, FieldInfo]] # noqa: UP006
0 commit comments