summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/interfaces.py
Commit message (Collapse)AuthorAgeFilesLines
* update for 2017 copyrightMike Bayer2017-01-041-1/+1
| | | | Change-Id: I4e8c2aa8fe817bb2af8707410fa0201f938781de
* - happy new yearMike Bayer2016-01-291-1/+1
|
* - copyright 2015Mike Bayer2015-03-101-1/+1
|
* PEP8 style fixesBrian Jarrett2014-07-131-3/+4
|
* - break up the <authors> copyright comment as part of a passMike Bayer2014-07-091-1/+2
| | | | to get all flake8 passing
* - happy new yearMike Bayer2014-01-051-1/+1
|
* happy new year (see #2645)Diana Clarke2013-01-011-1/+1
|
* just a pep8 pass of lib/sqlalchemy/Diana Clarke2012-11-191-8/+9
|
* - break out engine/base.py into base, interfaces, result, util.Mike Bayer2012-08-071-1/+1
| | | | - remove deprecated 0.7 engine methods
* trailing whitespace bonanzaMike Bayer2012-07-281-6/+6
|
* absolute imports in core, sqlMike Bayer2012-06-231-1/+1
|
* another date update/test a hookMike Bayer2012-01-041-1/+1
|
* fix a whole bunch of note:: / warning:: that were inline,Mike Bayer2011-12-251-2/+6
| | | | no longer compatible with docutils 0.8
* - some doc reorgMike Bayer2011-03-171-5/+5
| | | | | | | | | | - change engine.Connection to _connection_cls so sphinx doesn't get upset - globally add "." to all :class:`Foo` - start naming sections that are mostly docstrings "API Documentation - blah blah" - move some ad-hoc docstrings into "API" sections, there is some inconsistency here and it may be that we just have to leave it that way - add "internals" rsts to core, orm, I'm not super thrilled how these look but they are targeted by some of the public api docs, users typically become aware of these anyway
* corrected a bunch of spelling typosDiana Clarke2011-02-281-1/+1
|
* - whitespace removal bonanzaMike Bayer2011-01-021-44/+44
|
* - clean up copyright, update for 2011, stamp every file withMike Bayer2011-01-021-1/+2
| | | | | a consistent tag - AUTHORS file
* - removes the "on_" prefix.Mike Bayer2010-12-301-16/+16
|
* new calling style: event.listen(target, identifier, fn)Mike Bayer2010-12-011-25/+24
|
* - move deprecated interfaces down to bottom of TOC, update verbiageMike Bayer2010-11-101-4/+2
| | | | | | | | | | | | | - more docs for engine, pool, DDL events - update DDL sequences documentation to use events - update DDL() docstring to refer to execute_if() - document parameters for DDLElement.execute_if() - add retval=True flag to Engine.on_before_execute(), on_before_cursor_execute(). wrap the function if retval=False, check for appropriate usage of the flag, add tests. - remove ScopedSession.mapper and tests entirely - remove ExtensionCarrier and tests - change remaining tests that use MapperExtension to use MapperEvents
* - reorganizationMike Bayer2010-09-141-1/+6
| | | | | | | - attrbutes.py splits into attribtes.py and instrumentation.py - all the various Event subclasses go into events.py modules - some ideas for orm events - move *Extension out to deprecated_interfaces
* restore the deprecated docsMike Bayer2010-09-041-1/+1
|
* - moved out to on_before_execute, on_after_execute. not much option here,Mike Bayer2010-08-291-21/+49
| | | | | need both forms, the wrapping thing is just silly - fixed the listen() to not re-wrap continuously.
* going back to the simple way, plus trying to make the engine thing simpler, ↵Mike Bayer2010-08-281-43/+41
| | | | | | | and....doesn't work. on_before_execute and on_after_execute really not appealing here. might have to just go back to what it was the other day.
* - its probably worthwhile to make the primary listen() interface humane, i.e.:Mike Bayer2010-08-271-18/+37
| | | | | | | | | | | | | | | | def listen(target, args) so here we provide a "wrapper" approach that allows this, and it is basically pass-by-value. a pass-by-value event *may* support rewriting some of the args in the dictionary. the current listen will become "listen_raw" since it saves about 100% overhead versus the coercion to dict, and will be used internally, and will remain pass-by-reference. proxyconnection probably will rely upon the newer style of pass-by-value for "rewrite the args" types of calls.
* working with how this will be documented and having some probs with sphinxMike Bayer2010-08-091-2/+3
|
* - got engine events partially working, needs work on return value considerationsMike Bayer2010-07-241-1/+19
|
* - worked it out so that classes declare a nested class "event",Mike Bayer2010-07-241-15/+11
| | | | | | | | | with methods representing events. This is self-documenting via sphinx. - implemented new model for pool, classmanager. Most events are one or two args, so going back to allowing any kind of *arg, **kw signature for events - this is simpler and improves performance, though we don't get the "we can add new kw's anytime". perhaps there's some other way to approach that.
* - initial "events" idea. will replace all Extension, Proxy, ListenerMike Bayer2010-07-241-2/+39
| | | | implementations with a single interface.
* - ConnectionProxy now has wrapper methods for all transactionMike Bayer2010-01-161-1/+50
| | | | | | lifecycle events, including begin(), rollback(), commit() begin_nested(), begin_prepared(), prepare(), release_savepoint(), etc.
* merge 0.6 series to trunk.Mike Bayer2009-08-061-0/+12
|
* document ConnectionProxyMike Bayer2008-12-181-8/+25
|
* - merged -r5338:5429 of sphinx branch.Mike Bayer2008-12-061-3/+7
| | | | | | | | | | | | | - Documentation has been converted to Sphinx. In particular, the generated API documentation has been constructed into a full blown "API Reference" section which organizes editorial documentation combined with generated docstrings. Cross linking between sections and API docs are vastly improved, a javascript-powered search feature is provided, and a full index of all classes, functions and members is provided.
* usage docstring for pool listenerMike Bayer2008-11-081-0/+13
|
* r4695 merged to trunk; trunk now becomes 0.5.Mike Bayer2008-05-091-1/+22
| | | | 0.4 development continues at /sqlalchemy/branches/rel_0_4
* Migrated Connection.properties to Connection.info ('info' is the new ↵Jason Kirtland2007-11-181-2/+2
| | | | standard name for user-writable property collections that came out of [ticket:573]). 'properties' is now an alias, will be removed in 0.5.
* Housekeeping.Jason Kirtland2007-08-221-3/+3
|
* changing Pool to use weakref callback for auto-cleanup, instead of __del__.Mike Bayer2007-08-211-5/+1
| | | | | Still leaving the RLock in Queue however since I see no guarantee that the weakref callback isn't called at an arbitrary time.
* - added extra argument con_proxy to ConnectionListener interface ↵Mike Bayer2007-08-171-5/+15
| | | | | | | | | | checkout/checkin methods - changed testing connection closer to work on _ConnectionFairy instances, resulting in pool checkins, not actual closes - disabled session two phase test for now, needs work - added some two-phase support to TLEngine, not tested - TLTransaction is now a wrapper
* Little docstring tweaksJason Kirtland2007-08-011-6/+7
|
* Expanded docstring docs for pool hooks.Jason Kirtland2007-08-011-11/+42
|
* Added pool hooks for connection creation, check out and check in.Jason Kirtland2007-07-281-0/+51