diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2012-08-24 18:48:42 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2012-08-24 18:48:42 -0400 |
commit | 393b29477648e9b2db9597916a0e53602610ac44 (patch) | |
tree | 533dc7cb74b21cbd6f9ebeab89a6837c9bf30f35 /lib/sqlalchemy/engine/base.py | |
parent | a113c7b3a74f3c1b3128995a20c1760c87695cf3 (diff) | |
download | sqlalchemy-393b29477648e9b2db9597916a0e53602610ac44.tar.gz |
- [feature] Added support for .info dictionary argument to
column_property(), relationship(), composite().
All MapperProperty classes have an auto-creating .info
dict available overall.
Diffstat (limited to 'lib/sqlalchemy/engine/base.py')
-rw-r--r-- | lib/sqlalchemy/engine/base.py | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/lib/sqlalchemy/engine/base.py b/lib/sqlalchemy/engine/base.py index bf3131994..2894f2c21 100644 --- a/lib/sqlalchemy/engine/base.py +++ b/lib/sqlalchemy/engine/base.py @@ -253,7 +253,15 @@ class Connection(Connectable): @property def info(self): - """A collection of per-DB-API connection instance properties.""" + """Info dictionary associated with the underlying DBAPI connection + referred to by this :class:`.Connection`, allowing user-defined + data to be associated with the connection. + + The data here will follow along with the DBAPI connection including + after it is returned to the connection pool and used again + in subsequent instances of :class:`.Connection`. + + """ return self.connection.info |