From: Javier Sancho Date: Tue, 8 May 2018 10:19:11 +0000 (+0200) Subject: Add connector type to inspect info X-Git-Url: https://git.jsancho.org/?p=datasette-pytables.git;a=commitdiff_plain;h=5a6c3f4c97b3d7e598cbca4d9dfe9602cbe3406b Add connector type to inspect info --- 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