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
!
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
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 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
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
=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
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
')
((), [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
!
--
- 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
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
, 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
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
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
13 matches
Mail list logo