[sqlalchemy] Introspecting sequences

2015-02-05 Thread Catherine Devlin
with a primary key violation. Thanks, -- - Catherine http://catherinedevlin.blogspot.com -- 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

[sqlalchemy] Generating models from data

2014-07-28 Thread Catherine Devlin
! http://catherinedevlin.blogspot.com/2014/07/auto-generate-sqlalchemy-models.html https://pypi.python.org/pypi/ddlgenerator/ Thanks, -- - Catherine http://catherinedevlin.blogspot.com -- You received this message because you are subscribed to the Google Groups sqlalchemy group. To unsubscribe

[sqlalchemy] capture SQL without executing

2013-03-19 Thread Catherine Devlin
forth. But something analogous to Alembic's offline mode is exactly what I'm looking for for SQLAlchemy. Thanks, -- - Catherine http://catherinedevlin.blogspot.com -- You received this message because you are subscribed to the Google Groups sqlalchemy group. To unsubscribe from this group

[sqlalchemy] reflected DATETIME

2011-01-18 Thread Catherine Devlin
sqlalchemy to reflect them as sqlalchemy.DateTime in the first place (how?), or... I don't know. I can't hard-code the column definitions b/c I want the tool to adapt when the original (MySQL) database is changed. Can anybody help? Thanks very much! -- - Catherine http

[sqlalchemy] many-to-many doc clarification suggestion

2010-11-22 Thread Catherine Devlin
only shows up at position #14 in the search results of a many-to-many search. Thanks! -- - Catherine http://catherinedevlin.blogspot.com -- You received this message because you are subscribed to the Google Groups sqlalchemy group. To post to this group, send email to sqlalch

[sqlalchemy] Re: interpret (string) NULLs as empty strings, not None

2009-08-21 Thread Catherine Devlin
=engine) Thanks again! -- - Catherine http://catherinedevlin.blogspot.com/ *** PyOhio * July 25-26, 2009 * pyohio.org *** --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups sqlalchemy group. To post to this group, send email

[sqlalchemy] interpret (string) NULLs as empty strings, not None

2009-08-06 Thread Catherine Devlin
back to NULLs as Oracle saves them, anyway.) Thanks! -- - Catherine http://catherinedevlin.blogspot.com/ *** PyOhio * July 25-26, 2009 * pyohio.org *** --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups sqlalchemy group

[sqlalchemy] Re: preview an update?

2009-06-23 Thread Catherine Devlin
') ((), [u'ed'], ()) print sqlalchemy.orm.attributes.get_history(ed, 'fullname') ((), ['Eduardo Jones'], ()) ... now get_history thinks fullname has always been Eduardo Jones. Is this a bug I should file, or something I should have expected? Thanks as always! -- - Catherine http

[sqlalchemy] preview an update?

2009-06-18 Thread Catherine Devlin
! -- - Catherine http://catherinedevlin.blogspot.com/ *** PyOhio * July 25-26, 2009 * pyohio.org *** --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups sqlalchemy group. To post to this group, send email to sqlalchemy

[sqlalchemy] Re: no RowProxy.__getslice__

2007-07-25 Thread Catherine
of course. Why not approach the problem from the other direction? try: maybedict.keys() except AttributeError: ismapping = True else: ismapping = False - Catherine http://catherinedevlin.blogspot.com --~--~-~--~~~---~--~~ You received this message

[sqlalchemy] Re: no RowProxy.__getslice__

2007-07-25 Thread Catherine
, I'm looking into whether I could write a patch for that, then try-and-catch to do my duck typing. If you know a reason RowProxy's -shouldn't- support slicing, say so! - Catherine http://catherinedevlin.blogspot.com --~--~-~--~~~---~--~~ You received this message

[sqlalchemy] no RowProxy.__getslice__

2007-07-25 Thread Catherine
for duck typing. Right now, there is no attribute that is present in lists, tuples, and RowProxy's, but absent from dicts... Would a patch defining RowProxy.__getslice__ be welcome or misguided? Thanks! - Catherine Devlin http://catherinedevlin.blogspot.com

[sqlalchemy] Modifying __dict__ doesn't dirty an instance

2007-05-17 Thread Catherine
something that SQLA should support, or would that fall in the realm of you are getting weird on us, you're on your own? I guess that double-underscore sort of implies you're on your own, but __dict__ manipulation doesn't seem overly exotic in practice. Thanks, - Catherine http