~ubuntu-branches/debian/jessie/sqlalchemy/jessie

« back to all changes in this revision

Viewing changes to doc/_sources/core/event.txt

  • Committer: Package Import Robot
  • Author(s): Piotr Ożarowski, Jakub Wilk, Piotr Ożarowski
  • Date: 2013-07-06 20:53:52 UTC
  • mfrom: (1.4.23) (16.1.17 experimental)
  • Revision ID: package-import@ubuntu.com-20130706205352-ryppl1eto3illd79
Tags: 0.8.2-1
[ Jakub Wilk ]
* Use canonical URIs for Vcs-* fields.

[ Piotr Ożarowski ]
* New upstream release
* Upload to unstable
* Build depend on python3-all instead of -dev, extensions are not built for
  Python 3.X 

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
Events
4
4
======
5
5
 
6
 
SQLAlchemy includes an event API which publishes a wide variety of hooks into
 
6
SQLAlchemy includes an event API which publishes a wide variety of hooks into 
7
7
the internals of both SQLAlchemy Core and ORM.
8
8
 
9
9
.. versionadded:: 0.7
19
19
specific types of events, which may specify alternate interfaces for the given event function, or provide
20
20
instructions regarding secondary event targets based on the given target.
21
21
 
22
 
The name of an event and the argument signature of a corresponding listener function is derived from
 
22
The name of an event and the argument signature of a corresponding listener function is derived from 
23
23
a class bound specification method, which exists bound to a marker class that's described in the documentation.
24
24
For example, the documentation for :meth:`.PoolEvents.connect` indicates that the event name is ``"connect"``
25
25
and that a user-defined listener function should receive two positional arguments::