__init__.py 774 B

123456789101112131415161718
  1. # ext/declarative/__init__.py
  2. # Copyright (C) 2005-2017 the SQLAlchemy authors and contributors
  3. # <see AUTHORS file>
  4. #
  5. # This module is part of SQLAlchemy and is released under
  6. # the MIT License: http://www.opensource.org/licenses/mit-license.php
  7. from .api import declarative_base, synonym_for, comparable_using, \
  8. instrument_declarative, ConcreteBase, AbstractConcreteBase, \
  9. DeclarativeMeta, DeferredReflection, has_inherited_table,\
  10. declared_attr, as_declarative
  11. __all__ = ['declarative_base', 'synonym_for', 'has_inherited_table',
  12. 'comparable_using', 'instrument_declarative', 'declared_attr',
  13. 'as_declarative',
  14. 'ConcreteBase', 'AbstractConcreteBase', 'DeclarativeMeta',
  15. 'DeferredReflection']