def deploy_application(self, application: str, timeout: int = 60) -> None:
        """
        Deploy a Vespa application.
        Args:
            application: Path to the Vespa application root directory
            timeout: Timeout in seconds
        """
        endpoint = f'{self.config_url}/application/v2/tenant/default/prepareandactivate'

        gzip_stream = self._gzip_compress(application)

        response = self.http_client.post(
            endpoint,
            headers={'Content-Type': 'application/x-gzip'},
            data=gzip_stream.read(),
            timeout=timeout
        )

        self._raise_for_status(response)

        Deploy a Vespa application.
        Args:
            application: Path to the Vespa application root directory
            timeout: Timeout in seconds
        
src/marqo/vespa/vespa_client.py