code: def _postproc_annexdrop_result(res, respath_by_status, ds, **kwargs):
      res = annexjson2result(
          # annex reports are always about files
          res,
          ds,
          type="file",
          **kwargs,
      )
      success = success_status_map[res["status"]]
      respath_by_status[success] = respath_by_status.get(
          success, []
      ) + [res["path"]]
      if res["status"] == "error" and res["action"] == "drop":
          msg = res.get("message", None)
          if isinstance(msg, str) and "Use --force to" in msg:
              # Avoid confusing datalad-drop callers with git-annex-drop's
              # suggestion to use --force.
              # Just mention reckless itself, do not go into the details
              # of which mode. This is likely changing over time and
              # adjusting this replacement will be forgotten.
              res["message"] = msg.replace(
                  "--force", "--reckless availability"
              )
      return res
  
imports: import logging
  from itertools import chain
  import warnings
  from datalad.core.local.status import get_paths_by_ds
  from datalad.distribution.dataset import Dataset, EnsureDataset, datasetmethod, require_dataset
  from datalad.interface.base import Interface, build_doc, eval_results
  from datalad.interface.common_opts import jobs_opt, recursion_flag, recursion_limit
  from datalad.interface.results import annexjson2result, results_from_annex_noinfo, success_status_map
  from datalad.runner.exception import CommandError
  from datalad.support.annexrepo import AnnexRepo
  from datalad.support.constraints import EnsureChoice, EnsureNone, EnsureStr
  from datalad.support.exceptions import CapturedException
  from datalad.support.param import Parameter
  from datalad.utils import ensure_list, rmtree
label_desc: Use image node_id 10 for calling a global function with example usage: _postproc_annexdrop_result(res, respath_by_status, ds) and returns: res