This looks to be how cx_Oracle reports itself based on the arraysize given, this has nothing to do with SQLAlchemy:
import cx_Oracle dsn = cx_Oracle.makedsn("oracle1120", 1521) connection = cx_Oracle.connect(dsn=dsn, user="scott", password="tiger") cursor = connection.cursor() var = cursor.var( cx_Oracle.STRING, 255, arraysize=cursor.arraysize, outconverter=int ) print(repr(var)) output: <cx_Oracle.STRING with value [None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None]> The number of None's seems to be the arraysize argument: var = cursor.var( cx_Oracle.STRING, 255, arraysize=15, outconverter=int ) <cx_Oracle.STRING with value [None, None, None, None, None, None, None, None, None, None, None, None, None, None, None]> Seems a little awkward so maybe let him know at https://github.com/oracle/python-cx_Oracle. On Sat, Feb 17, 2018 at 9:23 PM, David A <dangelsau...@gmail.com> wrote: > I should note this is with cx-Oracle 6.1 and SQLAlchemy 1.2.3 > > -- > SQLAlchemy - > The Python SQL Toolkit and Object Relational Mapper > > http://www.sqlalchemy.org/ > > To post example code, please provide an MCVE: Minimal, Complete, and > Verifiable Example. See http://stackoverflow.com/help/mcve for a full > description. > --- > You received this message because you are subscribed to the Google Groups > "sqlalchemy" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to sqlalchemy+unsubscr...@googlegroups.com. > To post to this group, send email to sqlalchemy@googlegroups.com. > Visit this group at https://groups.google.com/group/sqlalchemy. > For more options, visit https://groups.google.com/d/optout. -- SQLAlchemy - The Python SQL Toolkit and Object Relational Mapper http://www.sqlalchemy.org/ To post example code, please provide an MCVE: Minimal, Complete, and Verifiable Example. See http://stackoverflow.com/help/mcve for a full description. --- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To unsubscribe from this group and stop receiving emails from it, send an email to sqlalchemy+unsubscr...@googlegroups.com. To post to this group, send email to sqlalchemy@googlegroups.com. Visit this group at https://groups.google.com/group/sqlalchemy. For more options, visit https://groups.google.com/d/optout.