docs: def add_result_hook(self, hook: Type["QueryResultHook"]) -> Type["QueryResultHook"]:
          """
          Add a query result hook to the chain
          :param hook: hook to add
          :return: added hook (same as hook to add)
          """
          hook.next_hook = self._query_result_hook
          self._query_result_hook = hook
          return hook