[SQL-CVS] r1071 - SQLObject/trunk/sqlobject
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
|
From: <sub...@co...> - 2005-10-03 01:44:00
|
Author: ianb
Date: 2005-10-03 01:43:55 +0000 (Mon, 03 Oct 2005)
New Revision: 1071
Modified:
SQLObject/trunk/sqlobject/events.py
Log:
comment/todo
Modified: SQLObject/trunk/sqlobject/events.py
===================================================================
--- SQLObject/trunk/sqlobject/events.py 2005-10-03 01:37:04 UTC (rev 1070)
+++ SQLObject/trunk/sqlobject/events.py 2005-10-03 01:43:55 UTC (rev 1071)
@@ -21,6 +21,11 @@
``(new_class)``.
"""
+# @@: Should there be a class reload event? This would allow modules
+# to be reloaded, possibly. Or it could even be folded into
+# ClassCreateEvent, since anything that listens to that needs to pay
+# attention to reloads (or else it is probably buggy).
+
class InstanceCreateEvent(Event):
"""
Called before an instance is created, with the class as the
@@ -105,4 +110,3 @@
functions are called with ``(cls, connection)`` after the table
has been dropped.
"""
-
|