code: def _check_warnings(self, json_response):
          ''' Extract warnings from the response to make them accessible
  
          Args:
              json_response (dict): JSON response
          
          '''
  
          self.warnings = None
          if json_response:
              self.warnings = json_response.get('warnings')
  
          if self.debug and self.warnings:
              for w in self.warnings:
                  print("WARNING: %s - %s" % (w['warning_name'], w['warning_msg'])f _check_warnings(self, json_response):
          ''' Extract warnings from the response to make them accessible
  
          Args:
              json_response (dict): JSON response
          
          '''
  
          self.warnings = None
          if json_response:
              self.warnings = json_response.get('warnings')
  
          if self.debug and self.warnings:
              for w in self.warnings:
                  print("WARNING: %s - %s" % (w['warning_name'], w['warning_msg']))
docs: Extract warnings from the response to make them accessible
  
          Args:
              json_response (dict): JSON response