def METHOD_NAME(self, runtime):
    inputs = self.inputs.get()
    dataset_path = inputs.pop("dataset_path")
    if (
        not isdefined(dataset_path)
        or not (Path(dataset_path) / ".datalad").exists()
    ):
        config.loggers.interface.info("Datalad interface without dataset path defined.")
        return runtime
    _dl_found = False
    try:
        from datalad.api import get
        _dl_found = True
    except ImportError:
        def get(*args, **kwargs):
            """Mock datalad get."""
    dataset_path = Path(dataset_path)
    for field, value in inputs.items():
        if not isdefined(value):
            continue
        _pth = Path(value)
        if not _pth.is_absolute():
            _pth = dataset_path / _pth
        _datalad_candidate = _pth.is_symlink() and not _pth.exists()
        if not _dl_found and _datalad_candidate:
            config.loggers.interface.warning("datalad was required but not found")
            return runtime
        if _datalad_candidate:
            try:
                result = get(
                    _pth,
                    dataset=dataset_path
                )
            except Exception as exc:
                config.loggers.interface.warning(f"datalad get on {_pth} failed.")
                if (
                    config.environment.exec_env == "docker"
                    and ("This repository is not initialized for use by git-annex, "
                         "but .git/annex/objects/ exists") in f"{exc}"
                ):
                    config.loggers.interface.warning(
                        "Execution seems containerirzed with Docker, please make sure "
                        "you are not running as root. To do so, please add the argument "
                        "``-u $(id -u):$(id -g)`` to your command line."
                    )
                else:
                    config.loggers.interface.warning(str(exc))
            else:
                if result[0]["status"] == "error":
                    config.loggers.interface.warning(f"datalad get failed: {result}")
    return runtime