code: async def scale(self, application, scale):
          
          application = self.resolve(application)
          return await self.model.applications[application].scale(scale=scale)
docs: Handle a change of scale to a k8s application.
  
          :param string application:
              Application holds the application placeholder name for which a unit
              is added.
  
          :param int scale:
              New scale value to use.