summarylogtreecommitdiffstats
path: root/tableschema.patch
blob: 961cba86b581dec88710d4a27809648fe31353c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
diff --unified --recursive --text a/messytables/jts.py b/messytables/jts.py
--- a/messytables/jts.py	2017-02-09 14:30:25.000000000 +0200
+++ b/messytables/jts.py	2020-03-10 16:03:19.717959940 +0200
@@ -4,7 +4,7 @@
 '''
 
 import messytables
-import jsontableschema
+import tableschema
 
 MESSYTABLES_TO_JTS_MAPPING = {
     messytables.StringType: 'string',
@@ -35,7 +35,7 @@
     returned from :meth:`~messytables.headers.headers_guess`
     and :meth:`~messytables.types.type_guess`.
     '''
-    j = jsontableschema.JSONTableSchema()
+    j = tableschema.Schema()
 
     for field_id, field_type in zip(headers, types):
         j.add_field(field_id=field_id,