brousch | dzho: I did the same thing at one point | 11:16 |
---|---|---|
cmaloney | Wonder if they actually thought they'd be shipping to the USA. | 13:26 |
dzho | "global" is what one wants, the first path element after the hostname should be 'gl' instead of 'en' | 15:15 |
dzho | once you get to the shipping options, there's a list of countries, but it is only piecemeal alphabetized. | 15:15 |
dzho | "United States" ends up somewhere in the middle, at the end of one run, but before another. | 15:15 |
dzho | s/at/near/ | 15:15 |
brousch | cmaloney: I was listening to doom metal (very slow, heavy metal) in my office when George walked in. I asked if he liked it. "No, it's too epic." I'm going to treat that like a compliment, like when he calls my cooking "Too tasty." | 22:53 |
_stink_ | haha brousch | 22:59 |
cmaloney | Heh | 23:06 |
cmaloney | That's awesome. | 23:06 |
_stink_ | sqlalchemy question just in case someone has seen this: has anyone had trouble mapping Boolean columns with sqlite? i googled around and didn't find anything obvious. i'm using declarative, and my insert statements include all the columns except the Boolean ones, and if i dump the mapper for that table it doesn't show the Boolean columns there. | 23:07 |
_stink_ | i also asked in #sqlalchemy. | 23:07 |
cmaloney | Are you reflecting or creating? | 23:07 |
cmaloney | Because reflection is going to get it wrong as they're integers | 23:08 |
_stink_ | not reflecting - each column is fully included in the model class. | 23:09 |
_stink_ | er, explicitly. | 23:10 |
_stink_ | the table is there already thought thanks to alembic | 23:10 |
_stink_ | s/thought/though | 23:11 |
cmaloney | So this is an alembic issue then? | 23:11 |
cmaloney | Not quite following | 23:11 |
_stink_ | naw, it's in my application. the table is in the db and .schema shows the right stuff. but in the model class, i am using declarative, and i have something like | 23:13 |
_stink_ | read = Column(Boolean, blahblah) | 23:13 |
_stink_ | but the read column never gets mapped | 23:14 |
cmaloney | Did you try using a different variable name, or is this for all booleans? | 23:14 |
_stink_ | i wondered that too - it's for all Booleans, but they are named "read", "write", and "delete" :P | 23:16 |
_stink_ | so maybe some kind of collision | 23:16 |
cmaloney | Try adding something to the vars like _flag and see if that works. | 23:16 |
cmaloney | brb | 23:17 |
_stink_ | i'd need to change the column names though? or maybe there's a mapper flag to point to a different column name | 23:17 |
_stink_ | thanks for the advice cmaloney | 23:17 |
brousch | _stink_: delete might be your issue http://www.sqlite.org/lang_keywords.html | 23:22 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!