def METHOD_NAME(self, metadata: T, target: Path, outputs: bool = True) -> Path:
    """
    Export and compress a study to a ZIP file.
    Args:
        metadata: The study metadata.
        target: The path of the ZIP file to export to.
        outputs: Whether to include the output folder inside the exportation.
    Returns:
        Path: The path to the created ZIP file containing the study files.
    """
    raise NotImplementedError()