code: async def setFormName(self, oldn, newn):
          '''
          Rename a form within all the layers.
          '''
          logger.info(f'Migrating [{oldn}] to [{newn}]')
  
          async with self.getTempSlab():
  
              i = 0
              async for buid, valu in self.getFormTodo(oldn):
  
                  await self.editNodeNdef((oldn, valu), (newn, valu))
  
                  i = i + 1
                  if i and i % _progress == 0:
                      logger.info(f'Migrated {i} buids.'ync def setFormName(self, oldn, newn):
          '''
          Rename a form within all the layers.
          '''
          logger.info(f'Migrating [{oldn}] to [{newn}]')
  
          async with self.getTempSlab():
  
              i = 0
              async for buid, valu in self.getFormTodo(oldn):
  
                  await self.editNodeNdef((oldn, valu), (newn, valu))
  
                  i = i + 1
                  if i and i % _progress == 0:
                      logger.info(f'Migrated {i} buids.')
docs: Rename a form within all the layers.