Closed coyotemarin closed 13 years ago
Please remove hand written MySQL code for SQLAlchemy. Anyone who is interested in this is going to have SQLAlchemy installed and this will remove a bunch of code I can see even from the first commit.
The SQL is in the docs for people who can read SQL and want to know exactly what's going on, but don't want to try to figure that out by reading the code.
It's also there to help people duplicate the API in other languages or on other databases.
Shoot, I should really add tests to ensure that these functions work properly if they hit a deadlock (get()
didn't until I fixed it a moment ago). Sigh.
Julian: I don't want to make this dependent on sqlalchemy
. And I definitely don't want to deal with table scans from silliness like loop.id != loop.id
.
(Julian has convinced me offline that depending on sqlalchemy
is a good idea because it would allow us to support all databases. He is planning to submit a pull request for a later version.)
Here's the proposed initial release for my Open Source task loop system.
Please read the docs (already up at http://packages.python.org/doloop), review the code, and make comments!