From 5a6c3f4c97b3d7e598cbca4d9dfe9602cbe3406b Mon Sep 17 00:00:00 2001 From: Javier Sancho Date: Tue, 8 May 2018 12:19:11 +0200 Subject: [PATCH] Add connector type to inspect info --- datasette_pytables/__init__.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/datasette_pytables/__init__.py b/datasette_pytables/__init__.py index 8516315..9b20618 100644 --- 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 -- 2.39.2