how are you getting this Compiler object? the .string element is
created within the constructor.
On 6/30/15 6:32 PM, Jonathon Nelson wrote:
When trying to debug something, I tried to acquire the string
representation of a 'compiler' object.
I got this error:
File
"/usr/lib64/python2.7/site-packages/sqlalchemy/sql/compiler.py", line
218, in __str__
return self.string or ''
AttributeError: 'PGCompiler_psycopg2' object has no attribute 'string'
It would appear that trying to acquire the string representation of
the object (before instantiation) fails.
:-(
--
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
<mailto:sqlalchemy+unsubscr...@googlegroups.com>.
To post to this group, send email to sqlalchemy@googlegroups.com
<mailto:sqlalchemy@googlegroups.com>.
Visit this group at http://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/d/optout.
--
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 http://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/d/optout.