code: async def get_constraints(self):
          
          app_facade = client.ApplicationFacade.from_connection(self.connection)
  
          log.debug(
              'Getting constraints for %s', self.name)
  
          result = (await app_facade.Get(self.name)).constraints
          return vars(result) if result else result
docs: Return the machine constraints dict for this application.