sqlalchemy.orm.util identity_key Example Code

identity_key is a callable within the sqlalchemy.orm.util module of the SQLAlchemy project.

AliasedClass and AliasedInsp are a couple of other callables within the sqlalchemy.orm.util package that also have code examples.

Example 1 from WTForms-Alchemy

wtforms-alchemy (documentation and PyPI package information) is a WTForms extension toolkit for easier creation of SQLAlchemy model based forms. While this project primarily focuses on proper form handling, it also has many good examples of how to use various parts of SQLAlchemy in its code base. The project is provided as open source under the MIT license.

WTForms-Alchemy / wtforms_alchemy / fields.py