예제 #1
0
    def _HandleConfigOption(self, stub_sections, name):
        with self._ConfigStub(stub_sections):
            result = self.handler.Handle(
                config_plugin.ApiGetConfigOptionArgs(name=name))

        return result
예제 #2
0
    def _RenderConfigOption(self, stub_sections, name):
        with self._ConfigStub(stub_sections):
            rendering = self.handler.Render(
                config_plugin.ApiGetConfigOptionArgs(name=name))

        return rendering