I solved everything by overriding against()
_DDL_MATCHER = re.compile(ur\$\{(_\w+)\:{0,1}([^\}]*)\})
class CustomDDL(DDL):
def __init__(self, statement, on=None, context=None, bind=None):
super(CustomDDL, self).__init__(statement, on, context, bind)
def against(self, target):
global
On Aug 31, 2010, at 8:51 PM, Petr Kobalíček wrote:
I solved everything by overriding against()
_DDL_MATCHER = re.compile(ur\$\{(_\w+)\:{0,1}([^\}]*)\})
class CustomDDL(DDL):
def __init__(self, statement, on=None, context=None, bind=None):
super(CustomDDL, self).__init__(statement,
Hi Michael,
many thanks for explanation.
I considered what you wrote and now I'm making my own class as a
callable and I'm going to use append_ddl_listener(). This means I
don't need DDLElement and DDL.
Best regards
Petr
--
You received this message because you are subscribed to the Google