You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SchemaObject>=0.5.10 works well. when use SchemaObject 0.5.7-0.5.9 should fix the bug by yourself.
there is some bug fix. schemaobject/connection.py
+7
-1
Original file line number Diff line number Diff line change
@@ -69,7 +69,13 @@ def version(self):
def execute(self, sql, values=None):
cursor = self._db.cursor()
#if isinstance(values, (basestring, unicode)): #NameError: name 'basestring' is not defined
try:
basestring
except NameError:
basestring = str
if isinstance(values, (str, basestring)):
values = (values,)
cursor.execute(sql, values)
earl86
changed the title
require SchemaObject>=0.5.7 not work
python3 version require SchemaObject>=0.5.7 not work
Nov 4, 2024
the current version shoud be: Schema-Object-0.5.11 or SchemaObject>=0.5.10
The text was updated successfully, but these errors were encountered: