this is a bug that goes back through 0.7, I've added http://www.sqlalchemy.org/trac/ticket/2732 for this.
For now I don't think you need the label_length argument, the dialect should have that under control. if you do need it, you can set it after the fact: engine.dialect.label_length = 30 On May 21, 2013, at 11:04 PM, Anthony Kong <anthony.hw.k...@gmail.com> wrote: > Hi, all, > > I have recently upgraded to use SA 0.8.0. > > Now when I run this statement, > > db = create_engine("sybase://", creator=self.buildConnection, echo=echo, > label_length=30) > > it throws a TypeError exception: > > TypeError: Invalid argument(s) 'label_length' sent to create_engine(), using > configuration SybaseDialect_pyodbc/QueuePool/Engine. Please check that the > keyword arguments are appropriate for this combination of components. > Locals: > > What is the root cause of it? > > If I remove 'label_length=30', it will work fine. How can I set this value > in 0.8.0? Do I still need to? > > Cheers, Tony > > -- > 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?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > -- 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?hl=en. For more options, visit https://groups.google.com/groups/opt_out.