def _get_raw_format(self):
    warnings.warn(PiCameraDeprecated('PiCamera.raw_format is deprecated; use required format directly with capture methods instead'))
    return self._raw_format
def _get_raw_format(self):
    warnings.warn(PiCameraDeprecated('PiCamera.raw_format is deprecated; use required format directly with capture methods instead'))
    return self._raw_format