projects
/
datasette-pytables.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d9e3d4c
)
Add connector type to inspect info
author
Javier Sancho
<jsf@jsancho.org>
Tue, 8 May 2018 10:19:11 +0000
(12:19 +0200)
committer
Javier Sancho
<jsf@jsancho.org>
Tue, 8 May 2018 10:19:11 +0000
(12:19 +0200)
datasette_pytables/__init__.py
patch
|
blob
|
history
diff --git
a/datasette_pytables/__init__.py
b/datasette_pytables/__init__.py
index 8516315cd49bbf4bf4507590d3e47e5a4878a1b1..9b2061890d6fe0eb03e01a425f8d7eecabdda4b0 100644
(file)
--- a/
datasette_pytables/__init__.py
+++ b/
datasette_pytables/__init__.py
@@
-1,5
+1,7
@@
import tables
+_connector_type = 'pytables'
+
def inspect(path):
"Open file and return tables info"
h5tables = {}
@@
-23,4
+25,4
@@
def inspect(path):
}
h5file.close()
- return h5tables, views
+ return h5tables, views
, _connector_type