code: async def setViewLayers(self, layers, iden=None):
          '''
          Args:
              layers ([str]): A top-down list of of layer guids
              iden (str): The view iden ( defaults to default view ).
          '''
          if iden is None:
              iden = self.iden
  
          view = self.views.get(iden)
          if view is None:
              raise s_exc.NoSuchView(iden=iden)
  
          view.setLayers(layersync def setViewLayers(self, layers, iden=None):
          '''
          Args:
              layers ([str]): A top-down list of of layer guids
              iden (str): The view iden ( defaults to default view ).
          '''
          if iden is None:
              iden = self.iden
  
          view = self.views.get(iden)
          if view is None:
              raise s_exc.NoSuchView(iden=iden)
  
          view.setLayers(layers)
docs: Args:
              layers ([str]): A top-down list of of layer guids
              iden (str): The view iden ( defaults to default view ).