Skip to content

Commit 9ce04b1

Browse files
committed
chore: Re-add Python 3.8 compatibility
1 parent 0f0f4fa commit 9ce04b1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

target_postgres/tests/test_target_postgres.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
# flake8: noqa
33
import copy
44
import io
5+
import typing as t
56
from contextlib import redirect_stdout
67
from decimal import Decimal
78
from pathlib import Path
@@ -93,8 +94,8 @@ def verify_data(
9394
self,
9495
table_name: str,
9596
number_of_rows: int = 1,
96-
primary_key: str | None = None,
97-
check_data: dict | list[dict] | None = None,
97+
primary_key: t.Union[str, None] = None,
98+
check_data: t.Union[t.Dict, t.List[t.Dict], None] = None,
9899
):
99100
"""Checks whether the data in a table matches a provided data sample.
100101

0 commit comments

Comments
 (0)