Changeset 1136 for trunk/packages/sipb-xen-database/python/database
- Timestamp:
- Oct 19, 2008, 2:02:50 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/sipb-xen-database/python/database/models.py
r1014 r1136 120 120 121 121 def clear_cache(): 122 """Clear sqlalchemy's cache. 122 """Clear sqlalchemy's cache 123 """ 123 124 124 This _seems_ to be the way; it works, but the docs don't mention 125 it. Why is this so obscure?""" 126 127 # XXX maybe we still need to do this, but it's not doc'd how. 128 #ctx.registry.clear() 125 session.clear()
Note: See TracChangeset
for help on using the changeset viewer.