there's the quote() method which doesn't expect any schema object, just the name and a flag "force" which you can leave as None to have it determine quoting automatically.
On Oct 22, 2012, at 12:58 AM, Stefan Urbanek wrote: > Hi, > > I am creating some custom compiled constructions and I need to create > properly quoted schema and table, however I have both only as strings because > the table does not exist yet (for example: CREATE TABLE ... AS SELECT ...). > It looks like all table quote_* methods in IdentifierPreparer expect table > object. Is there a way how can I get schema.table quoting just from strings? > > Regards, > > Stefan > > > -- > You received this message because you are subscribed to the Google Groups > "sqlalchemy" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/sqlalchemy/-/5SJoREJHKTkJ. > To post to this group, send email to sqlalchemy@googlegroups.com. > To unsubscribe from this group, send email to > sqlalchemy+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/sqlalchemy?hl=en. -- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to sqlalchemy@googlegroups.com. To unsubscribe from this group, send email to sqlalchemy+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en.