From 8c0dab5768c654210ff08936ee8aaad57670ec29 Mon Sep 17 00:00:00 2001 From: Vishal Anand Date: Tue, 23 May 2023 01:52:23 +0530 Subject: [PATCH] Multi catalog support added. --- README.md | 2 +- e6xdb/e6x.py | 4 ++-- setup.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 5c7de8d..83252fd 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # e6data Python Connector -![version](https://img.shields.io/badge/version-1.0.5-blue.svg) +![version](https://img.shields.io/badge/version-1.0.6-blue.svg) ## Introduction diff --git a/e6xdb/e6x.py b/e6xdb/e6x.py index 44e82a3..f5b3fc2 100644 --- a/e6xdb/e6x.py +++ b/e6xdb/e6x.py @@ -229,9 +229,9 @@ def commit(self): """We do not support transactions, so this does nothing.""" pass - def cursor(self, db_name=None): + def cursor(self, db_name=None, catalog_name=None): """Return a new :py:class:`Cursor` object using the connection.""" - return Cursor(self, database=db_name) + return Cursor(self, database=db_name, catalog_name=catalog_name) def rollback(self): raise Exception("e6xdb does not support transactions") # pragma: no cover diff --git a/setup.py b/setup.py index d3646d1..d30722f 100644 --- a/setup.py +++ b/setup.py @@ -16,7 +16,7 @@ envstring = lambda var: os.environ.get(var) or "" -VERSION = [1, 0, 5] +VERSION = [1, 0, 6] def get_long_desc():