I see this code in a couple places in Cursor.callproc (v 0.39):
if self.inputmap is not None:
for tp in type(value).__mro__:
converter = cursor.inputmap.get(tp, None)
if converter is not None:
break
if converter is not None:
value = converter(value)
"cursor.inputmap" should almost certainly be "self.inputmap".
Skip
|