def _get_resolution(self):
    self._check_camera_open()
    return mo.PiResolution(int(self._camera_config.max_stills_w), int(self._camera_config.max_stills_h))
def _get_resolution(self):
    self._check_camera_open()
    return mo.PiResolution(int(self._camera_config.max_stills_w), int(self._camera_config.max_stills_h))