def create_root_context(self): context = super(PackageClassLoader, self).create_root_context() yaql_functions.register(context) return context
def create_root_context(self): context = super(TestClassLoader, self).create_root_context() yaql_functions.register(context) for name, func in self._functions.iteritems(): context.register_function(func, name) return context