code: def get_all(cls, account_id=None, location=None):
          
          qry = db.Enforcements.filter()
  
          if account_id:
              qry = qry.filter(account_id == Enforcements.account_id)
  
          if location:
              qry = qry.join(Resource, Resource.location == location)
  
          return qry
docs: Return all Enforcements
  
          args:
              `account_id` : Unique Account Identifier
              `location` : Region associated with the Resource
  
          returns:
              list of enforcement objects