[sqlalchemy] Re: sqlalchemy.dialects.postgresql.ranges.DATERANGE sometimes doesn't get parsed (returned as str)

2018-11-14 Thread Fredrik Blomqvist
string got parsed directly when the object got created, instead of only when DB interaction occurs, but understandable if that's not how things work. On Wednesday, November 14, 2018 at 9:55:26 PM UTC-5, Fredrik Blomqvist wrote: > > Hello, > > I've had this "ghost"

[sqlalchemy] sqlalchemy.dialects.postgresql.ranges.DATERANGE sometimes doesn't get parsed (returned as str)

2018-11-14 Thread Fredrik Blomqvist
Hello, I've had this "ghost" issue for about half a year now, every now and then. Essentially, I have a model with a DATERANGE column (to match my PostgreSQL daterange column). "Most" of the time this works out well. However, sometimes, seemingly depending on the exact code path (or something e

Re: [sqlalchemy] How to load a table with autoload=False?

2017-07-20 Thread Fredrik Blomqvist
ribed (extend_existing). On Thursday, July 20, 2017 at 3:37:36 PM UTC+2, Mike Bayer wrote: > > On Thu, Jul 20, 2017 at 5:35 AM, Fredrik Blomqvist > > wrote: > > There seems to be surprisingly little information about how to load a > table > > manually if you set the autol

[sqlalchemy] How to load a table with autoload=False?

2017-07-20 Thread Fredrik Blomqvist
There seems to be surprisingly little information about how to load a table manually if you set the autoload flag to False. There is a fairly new question on StackOverflow that has not been answered properly either: https://stackoverflow.com/q/43042044/998919. Is there a function (e.g. ".load()")