Esempio n. 1
0
 def create_package_context(self, package):
     context = super(ContextManager, self).create_package_context(
         package)
     if package.name == 'io.murano':
         context = helpers.link_contexts(
             context, yaql_functions.get_restricted_context())
     return context
Esempio n. 2
0
 def create_package_context(self, package):
     context = super(ContextManager, self).create_package_context(
         package)
     if package.name == 'io.murano':
         context = helpers.link_contexts(
             context, yaql_functions.get_restricted_context())
     return context