I'm trying to follow the example listed in the wiki at http://www.sqlalchemy.org/trac/wiki/UsageRecipes/UniqueObject regarding the use of a metaclass.
What I don't understand is how the metaclass (EntitySingleton) has access to the variable ctx which is instantinated outside the scope of the class definition. Could anyone point me in the right direction please? Thanks, Orest _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor