Skip to content

Commit

Permalink
when using union for test annotations must be imported from __future__
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasborgen committed Oct 24, 2023
1 parent d733b95 commit 6907e9c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions kaiba/functions.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

import re
from decimal import Decimal
from typing import Any, List, Optional, Union
Expand Down
2 changes: 2 additions & 0 deletions kaiba/iso.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

from attr import dataclass
from pycountry import countries, currencies, languages
from returns.result import safe
Expand Down

0 comments on commit 6907e9c

Please sign in to comment.