def METHOD_NAME(self, completion_item: CompletionItemTypedDict):
    try:
        data = completion_item.get("data")
        if data and isinstance(data, dict):
            doc_uri = data.get("uri")
            ls = self._weak_robot_framework_ls()
            if not ls:
                log.critical(
                    "RobotFrameworkLanguageServer garbage-collected in resolve completion item."
                )
                return completion_item
            return ls.async_api_forward(
                "request_resolve_completion_item",
                "api",
                doc_uri,
                default_return=completion_item,
                __add_doc_uri_in_args__=False,
                completion_item=completion_item,
            )
    except:
        log.exception("Error resolving completion item.")
    return completion_item