Commit Graph
425 Commits
Author SHA1 Message Date
Friedrich Lindenberg 4fcb7f55ed use staticPool for sqlite, fixes #163 2016-04-10 10:08:58 +03:00
Friedrich Lindenberg 38aef065cb add to dataset.connect 2016-04-08 11:14:03 +03:00
Friedrich Lindenberg 4fb4845efc set default of the ensure_schema flag per session 2016-04-08 09:23:24 +03:00
krkhnh 6909ba5c2f Update table.py
This propose is based on issue #133. Added 'ensure_session' global variable as a default value for 'ensure' parameter.

I haven't used Python for a long time and I can't test this code for now. I'm sorry for my irresponsibility, but here is a rough idea as a solution.
2016-04-08 09:48:27 +09:00
Friedrich Lindenberg 6e6a0c0500 Merge pull request #161 from ryneeverett/comparison-operators
Implement comparison operators. Resolve #128.
2016-04-01 14:19:05 +02:00
ryneeverett 1565fe5fe2 Implement comparison operators. Resolve #128. 2016-03-24 17:57:26 -05:00
Friedrich Lindenberg dcf1e09bbe python 3 urllib 2016-02-14 11:19:19 +01:00
Friedrich Lindenberg 0dbb926dec install deps first 2016-02-14 11:09:05 +01:00
Friedrich Lindenberg 771509a05b try nose 2016-02-14 11:05:46 +01:00
Friedrich Lindenberg 9c316ff7a6 Merge pull request #152 from twds/master
Release all the locks acquired by transaction on commit/rollback
2016-02-12 18:14:34 +01:00
Friedrich Lindenberg e192e3f0dc provide consistent return values, fixes #138 2016-02-12 18:12:22 +01:00
Friedrich Lindenberg cc742b7a00 do not create columns upon find(), fixes #143 2016-02-12 18:10:50 +01:00
Friedrich Lindenberg c45b98d862 remove password from conn URLs, fixes #157 2016-02-12 17:58:55 +01:00
Friedrich Lindenberg d460e7ca55 use qualified table name, fixes #156 2016-02-12 17:44:43 +01:00
Di Wu 7fa056bfe2 Release all the locks acquired by transaction on commit/rollback 2016-01-26 15:02:19 +08:00
Friedrich Lindenberg af1e675e24 satisfy the pep8 checker 2016-01-19 18:19:13 +01:00
Friedrich Lindenberg 17f55ae60c Merge pull request #151 from madprog/issue-150
Remove specific params from ds.freeze() signature
2016-01-19 18:17:21 +01:00
Paul Morelle 32257f96ff Remove specific params from ds.freeze() signature
Add documentation to retrieve them more easily.
References pudo/dataset#150
2016-01-18 23:13:25 +01:00
Friedrich Lindenberg b83ef2c322 mint a new version 2016-01-18 12:10:37 +01:00
Friedrich Lindenberg a1c518f3e9 disabling mysql testing on travis for now 2016-01-18 12:03:43 +01:00
Friedrich Lindenberg 770e95bf33 really annoyed by MySQL now 2016-01-18 12:00:26 +01:00
Friedrich Lindenberg 6f4bd9b17f Fix reference to driver URI 2016-01-18 11:34:55 +01:00
Friedrich Lindenberg 248826004f ok, this one didn’t do python 3. Maybe this one? 2016-01-18 11:30:41 +01:00
Friedrich Lindenberg 4e334d949f try switching the SQL driver for travis 2016-01-18 11:26:24 +01:00
Friedrich Lindenberg 91d587849d merge 2016-01-18 11:19:13 +01:00
Friedrich Lindenberg 4f00db572f work around a bunch of bugs; 2016-01-18 11:14:30 +01:00
Friedrich Lindenberg b393ebb54a Merge pull request #132 from mgaitan/fix_drop_column
drop_column fails with sqlite
2016-01-18 11:09:05 +01:00
Friedrich Lindenberg ef2ce6387f keep tables only in memory. 2016-01-18 11:07:24 +01:00
Friedrich Lindenberg 88fe846249 ignore local env 2016-01-18 10:57:07 +01:00
Friedrich Lindenberg bd3a19ebc4 Fix python 2 support for StringIO. 2016-01-18 10:56:35 +01:00
Friedrich Lindenberg 5e9745b858 Merge pull request #148 from madprog/issue-147
dataset.freeze should not close provided fileobj
2016-01-18 10:33:06 +01:00
Paul Morelle 998a712242 When wrap is False, don't wrap JSON result
Test and solution for issue pudo/dataset#149
2016-01-18 05:59:07 +01:00
Paul Morelle 18bd08c009 dataset.freeze should not close provided fileobj
Test and solution for issue pudo/dataset#147
2016-01-18 05:11:24 +01:00
Stefan Wehrmeyer dc3c14321a Add new mysql connector library 2016-01-14 22:19:22 +01:00
Stefan Wehrmeyer 47917c6867 Add failing test case for table drop 2016-01-14 21:40:53 +01:00
Stefan Wehrmeyer d16f1df8cd Don't call fetch on closed result proxy
"The DBAPI cursor will be closed by the ResultProxy when all of its result rows (if any) are exhausted"
See http://docs.sqlalchemy.org/en/latest/core/connections.html
2015-12-20 13:15:39 +01:00
Friedrich Lindenberg 9d0b6503d7 Merge pull request #145 from twds/master
fix infinite recursion
2015-12-20 10:43:12 +01:00
Di Wu b8980221cd fix infinite recursion 2015-12-20 13:49:07 +08:00
Stefan Wehrmeyer 0f7e7dc73c Flake8 cleanup 2015-12-19 21:43:51 +01:00
Stefan Wehrmeyer 21da5a3078 Add more files to gitignore 2015-12-19 21:42:09 +01:00
Friedrich Lindenberg 00b4efd024 Merge pull request #144 from twds/master
Use fetchmany to prevent huge tables loaded at once
2015-12-14 22:19:02 +01:00
Di Wu 6f4f0313a8 Use fetchmany to prevent huge tables from being loaded into memory at once. 2015-12-13 20:51:14 +08:00
Friedrich Lindenberg 93162ac6fc add schema hint to create_column, refs #78 (thanks @smnorris) 2015-08-07 12:18:50 +02:00
Friedrich Lindenberg 7cf087d6a2 Merge pull request #134 from vguzmanp/patch-1
release lock in table.drop()
2015-07-07 22:07:14 +03:00
Víctor Guzmán b2dc8a3315 release lock in table.py 2015-07-07 21:04:44 +02:00
Martín Gaitán f6336e1808 test to reproduce the bug 2015-06-25 19:53:43 -03:00
Friedrich Lindenberg 61b33d9d4f Use sha1 to generate index IDs. 2015-06-11 11:54:04 +02:00
Friedrich Lindenberg 1df4b281f9 Fix up sidebar, fixes #124. 2015-06-08 12:23:15 +02:00
Friedrich Lindenberg 0c04f647b2 re-introduce relative imports to unbork python 3. 2015-06-08 10:54:46 +02:00
Friedrich Lindenberg 085817b844 fix previous fix. hello monday morning 2015-06-08 10:13:48 +02:00