def addExtensionObject(self, Tuple, ormCrudHandlerExtension): self.extensions[Tuple.tupleType()] = ormCrudHandlerExtension
def f(cls): self.extensions[Tuple.tupleType()] = cls() return cls