code: def _sanitize_resources(cls, resources):
          
  
          try:
              for resource in cls._loop_raw(resources):
                  cls._sanitize_resource(resource)
          except (KeyError, TypeError):
              _LOGGER.debug("no shade data available")
              return None
docs: Loops over incoming data looking for base64 encoded data and
          converts them to a readable format.