Skip to content

Commit 1c005ba

Browse files
committed
fixes due to changes in driver
1 parent 89a91c6 commit 1c005ba

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

requirements-iris.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
https://github.com/intersystems-community/intersystems-irispython/releases/download/3.4.3/intersystems_iris-3.4.3-py3-none-any.whl
1+
https://github.com/intersystems-community/intersystems-irispython/releases/download/3.6.0/intersystems_iris-3.6.0-py3-none-any.whl

sqlalchemy_iris/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -814,7 +814,7 @@ def _set_option(self, connection, option, value):
814814
def get_isolation_level(self, connection):
815815
try:
816816
level = int(self._get_option(connection, "IsolationMode"))
817-
except dbapi.InterfaceError:
817+
except dbapi.DatabaseError:
818818
# caught access violation error
819819
# by default it's 0
820820
level = 0

0 commit comments

Comments
 (0)