From 5bf44bd6be9d0390c845bc20b7e416ad0085790f Mon Sep 17 00:00:00 2001 From: Frederick Yin Date: Sun, 31 Oct 2021 13:49:35 +0800 Subject: Compat: list[dict] type hinting unsupported by 3.7 --- jimbrella/csv_table.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jimbrella/csv_table.py b/jimbrella/csv_table.py index 3c420ff..15263c6 100644 --- a/jimbrella/csv_table.py +++ b/jimbrella/csv_table.py @@ -5,7 +5,7 @@ from .utils import identity class CsvTable: - def __init__(self, path, schema: list[dict]): + def __init__(self, path, schema: list): """A generic CSV table of data, and basic I/O operations. The first column should be unique. If so, it can be used to index rows, a feature of -- cgit v1.2.3