def get_blueprint_resource(self,
                            blueprint_id,
                            resource_path,
                            template_variables=None):
     resource = manager.get_blueprint_resource(blueprint_id=blueprint_id,
                                               resource_path=resource_path)
     return self._render_resource_if_needed(
         resource=resource, template_variables=template_variables)
 def get_blueprint_resource(self,
                            blueprint_id,
                            resource_path,
                            template_variables=None):
     resource = manager.get_blueprint_resource(blueprint_id=blueprint_id,
                                               resource_path=resource_path)
     return self._render_resource_if_needed(
         resource=resource,
         template_variables=template_variables)
Esempio n. 3
0
 def get_blueprint_resource(self, blueprint_id, resource_path):
     return manager.get_blueprint_resource(blueprint_id, resource_path)
 def get_blueprint_resource(self, blueprint_id, resource_path):
     return manager.get_blueprint_resource(blueprint_id, resource_path)