def _retrieve_server_version(self):
        try:
            return self.version(api_version=False)["ApiVersion"]
        except __HOLE__:
            raise errors.DockerException(
                'Invalid response from docker daemon: key "ApiVersion"'
                ' is missing.'
            )
        except Exception as e:
            raise errors.DockerException(
                'Error while fetching server API version: {0}'.format(e)
            )
dataset/ETHPy150Open docker/docker-py/docker/client.py/Client._retrieve_server_version