]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- Refactored declarative_base() as a thin wrapper over type()
authorJason Kirtland <jek@discorporate.us>
Sat, 2 Aug 2008 17:07:33 +0000 (17:07 +0000)
committerJason Kirtland <jek@discorporate.us>
Sat, 2 Aug 2008 17:07:33 +0000 (17:07 +0000)
commit19bc91c7578f6e252536d675d5343cfdd45c346c
tree5742e4de7e205c1e9f1e1be04c6ac58d073fc247
parent8c261ab7b72974d8a093ae011304ccebbeb96770
- Refactored declarative_base() as a thin wrapper over type()
- The supplied __init__ is now optional
- The name of the generated class can be specified
- Accepts multiple bases
lib/sqlalchemy/ext/declarative.py