Skip to content

Commit 3662592

Browse files
committed
fixup! Add pep-249 dbapi module
1 parent 6f43c09 commit 3662592

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Diff for: tarantool/dbapi.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -159,9 +159,9 @@ def __init__(self, *args, **kwargs):
159159

160160
@property
161161
def autocommit(self):
162-
"""Autocommit is True by default because Tarantool
163-
does not support interactive transactions
164-
but it will be implemented soon."""
162+
"""Autocommit is True by default and the default will be changed
163+
to False. Set the property explicitly to True or verify
164+
it when lean on autocommit behaviour."""
165165
return self._autocommit
166166

167167
@autocommit.setter
@@ -171,7 +171,7 @@ def autocommit(self, autocommit):
171171
raise InterfaceError("autocommit parameter must be boolean, "
172172
"not %s" % type(autocommit))
173173
if autocommit is False:
174-
raise NotSupportedError("Can not The connector supports "
174+
raise NotSupportedError("The connector supports "
175175
"only autocommit mode")
176176

177177
def _check_not_closed(self, error=None):

0 commit comments

Comments
 (0)