Source code for qcodes.extensions._log_export_info from __future__ import annotations import logging from typing import TYPE_CHECKING, Any if TYPE_CHECKING: from pathlib import Path LOG = logging.getLogger(__name__) [docs] def log_dataset_export_info(path: Path | None, **kwargs: Any) -> None: automatic = kwargs.get("automatic_export", False) auto_str = "automatically" if automatic else "manually" LOG.info("Dataset has been exported to: %s this was triggered %s.", path, auto_str)