Commit Graph

493 Commits

Author SHA1 Message Date
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
Friedrich Lindenberg
1d8928e4a0 Add facility to run tests directly, fixes #129. 2015-06-08 10:04:30 +02:00
Friedrich Lindenberg
22d26fad4b Fix markup. Damnn rST 2015-05-23 16:53:02 +02:00
Friedrich Lindenberg
f2a26a8911 Secure ribbon :) 2015-05-23 16:43:18 +02:00
Friedrich Lindenberg
1103946acd Fix up docs a bit. 2015-05-23 16:38:53 +02:00
Friedrich Lindenberg
aa4aebe73d Up version to 0.6. 2015-05-23 16:28:29 +02:00
Friedrich Lindenberg
56d5b232d8 Include support for custom result row types, fixes #41. 2015-05-23 16:15:17 +02:00
Friedrich Lindenberg
8b411636f3 ignore some local stuff 2015-05-23 15:56:42 +02:00
Friedrich Lindenberg
7f7cb41858 Handle column name validation more coherently, fixes #45. 2015-05-23 15:30:19 +02:00
Friedrich Lindenberg
fd3d9f326c Cannot recall why this is using NullPool, hence removing to fix #65. 2015-05-23 15:15:00 +02:00
Friedrich Lindenberg
f8241e809b Attempt to reproduce #111 on travis (linux). Issue does not appear on OS X. 2015-05-23 14:49:14 +02:00
Friedrich Lindenberg
0893ba5fb2 Use pip cache in travis. 2015-05-23 14:35:46 +02:00
Friedrich Lindenberg
07232fa1bd Fix tests by giving up on mysql-connector driver. 2015-05-23 14:35:28 +02:00
Friedrich Lindenberg
a0eab8876e Remove space. 2015-05-23 13:41:08 +02:00
Friedrich Lindenberg
819c37d61d Make __getitem__ an alias for distinct(). Fixes #87. 2015-05-23 13:01:36 +02:00
Friedrich Lindenberg
5e5d69457e Add a program name to argparse. 2015-05-23 13:01:01 +02:00
Friedrich Lindenberg
295a5deb61 Remove invalid test of arg parser. 2015-05-23 12:45:25 +02:00
Friedrich Lindenberg
2a35c8d1b1 remove support for Python 2.6, test for 3.4 2015-05-22 18:19:51 +02:00
Friedrich Lindenberg
43453415c0 wat 2015-05-21 23:47:46 +02:00
Friedrich Lindenberg
537557285d Change signature of .upsert and .update on table according to: fixes #43. 2015-05-21 23:38:14 +02:00
Friedrich Lindenberg
edef86126f Connect to an in-memory sqlite if no database is specified. 2015-05-21 23:37:37 +02:00
Friedrich Lindenberg
19cc76dd60 Don’t allow dots in column names, fixes #86. 2015-05-21 23:21:47 +02:00
Friedrich Lindenberg
a95c7be33b pass schema into table constructors. 2015-05-21 22:07:03 +02:00
Friedrich Lindenberg
e662d8bde7 Support for properly returning a query count. 2015-05-21 18:05:26 +02:00
Friedrich Lindenberg
5dad532478 Clean up imports. 2015-05-21 17:40:57 +02:00
Friedrich Lindenberg
3afcfb3b81 Introduce some sanity checking on table names, fixes #89. 2015-05-21 17:38:06 +02:00
Friedrich Lindenberg
e9aec72bac Slurp result proxy in one go so the query doesn’t remain open. Fixes #15. 2015-05-21 17:17:14 +02:00
Friedrich Lindenberg
9361c8ef9d Remove datetime fix code. 2015-05-21 16:52:15 +02:00
Friedrich Lindenberg
55c33cbc71 Remove now-invalid import. 2015-05-21 16:52:03 +02:00
Friedrich Lindenberg
c605841390 Switch to normality for slugs 2015-05-21 16:51:57 +02:00
Friedrich Lindenberg
01f85c11b9 Rename reflectMetadata to reflect_metadata, remove SQLite datetime fix. 2015-05-21 16:48:28 +02:00
Friedrich Lindenberg
d3473fc4a6 Include tests from PR, fixes #105. 2015-05-21 16:47:36 +02:00
Friedrich Lindenberg
bdb5284ea6 Merge pull request #121 from christophersu/add-dropcol-to-docs
Add drop_column to API documentation
2015-03-12 21:27:06 +01:00