diff options
author | Jason Kirtland <jek@discorporate.us> | 2007-07-06 00:58:09 +0000 |
---|---|---|
committer | Jason Kirtland <jek@discorporate.us> | 2007-07-06 00:58:09 +0000 |
commit | 177d30cc011b919c9c6381027d2e5f29e17e5ea7 (patch) | |
tree | decd2f3e31ebe85540d858f181261b3f93671475 /lib/sqlalchemy/ext/activemapper.py | |
parent | 6a30dd13909a10e84ebc09a50a3c0561f5ae803c (diff) | |
download | sqlalchemy-177d30cc011b919c9c6381027d2e5f29e17e5ea7.tar.gz |
- Deprecated DynamicMetaData- use ThreadLocalMetaData or MetaData instead
- Deprecated BoundMetaData- use MetaData instead
- Removed DMD and BMD from documentation
Diffstat (limited to 'lib/sqlalchemy/ext/activemapper.py')
-rw-r--r-- | lib/sqlalchemy/ext/activemapper.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sqlalchemy/ext/activemapper.py b/lib/sqlalchemy/ext/activemapper.py index 004caf849..2fcf44f61 100644 --- a/lib/sqlalchemy/ext/activemapper.py +++ b/lib/sqlalchemy/ext/activemapper.py @@ -1,5 +1,5 @@ from sqlalchemy import create_session, relation, mapper, \ - join, DynamicMetaData, class_mapper, \ + join, ThreadLocalMetaData, class_mapper, \ util, Integer from sqlalchemy import and_, or_ from sqlalchemy import Table, Column, ForeignKey @@ -14,7 +14,7 @@ import sys # # the "proxy" to the database engine... this can be swapped out at runtime # -metadata = DynamicMetaData("activemapper") +metadata = ThreadLocalMetaData("activemapper") try: objectstore = sqlalchemy.objectstore |