summaryrefslogtreecommitdiff
path: root/jimbrella/csv_table.py
diff options
context:
space:
mode:
authorFrederick Yin <fkfd@fkfd.me>2021-10-31 13:49:35 +0800
committerFrederick Yin <fkfd@fkfd.me>2021-10-31 13:49:35 +0800
commit5bf44bd6be9d0390c845bc20b7e416ad0085790f (patch)
tree34805a4f270a66b1f9739512bd31e582d2a3a1d6 /jimbrella/csv_table.py
parent7ec6941b8a7a8fb84d8202f48571935ac31f700b (diff)
Compat: list[dict] type hinting unsupported by 3.7
Diffstat (limited to 'jimbrella/csv_table.py')
-rw-r--r--jimbrella/csv_table.py2
1 files changed, 1 insertions, 1 deletions
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