def METHOD_NAME(self, session_name: str, label_part: Optional[InlayHintLabelPart] = None) -> None:
    if not label_part:
        return
    command = label_part.get('command')
    if not command:
        return
    args = {
        "session_name": session_name,
        "command_name": command["command"],
        "command_args": command.get("arguments")
    }
    self.view.run_command("lsp_execute", args)