# werkzeug.LocalManager.get_ident¶

LocalManager.get_ident()[source]

Return the context identifier the local objects use internally for this context. You cannot override this method to change the behavior but use it to link other context local objects (such as SQLAlchemy’s scoped sessions) to the Werkzeug locals.

Changed in version 0.7: You can pass a different ident function to the local manager that will then be propagated to all the locals passed to the constructor.