code: def updateCameraTree(self):
          self.treelist.reset_()
  
          self.server = ServerListItem(
              name = "Localhost", ip = "127.0.0.1", parent = self.root)
          
          """
          self.camera1 = RTSPCameraListItem(camera=RTSPCameraDevice(
              ip="192.168.1.4", username="admin", password="1234"), parent=self.server1)
          self.camera2 = RTSPCameraListItem(camera=RTSPCameraDevice(
              ip="192.168.1.4", username="admin", password="1234"), parent=self.server1)
          """
          devices = []
  
          for row in self.dm.camera_collection.get():
              # print(pre, "makeCameraTree : row", row)
              if (row["classname"] == DataModel.RTSPCameraRow.__name__):
                  row.pop("classname")
                  devices.append(
                      RTSPCameraListItem(
                          camera = DataModel.RTSPCameraDevice(**row),
                          parent = self.server
                      )
                  )
              elif (row["classname"] == DataModel.USBCameraRow.__name__):
                  row.pop("classname")
                  devices.append(
                      USBCameraListItem(
                          camera = DataModel.USBCameraDevice(**row),
                          parent = self.server
                      )
                  )
                  
          self.treelist.update()
          self.treelist.expandAll()
docs: self.server1 = ServerListItem(
              name="First Server", ip="192.168.1.20", parent=self.root)