refactor: add missing @override decorator to remaining MCP, Jieba, embeddings, and misc subclasses (#36528)

This commit is contained in:
Sven Weidenmann
2026-05-22 15:45:35 +02:00
committed by GitHub
parent 473c945839
commit 4d8b6c7dc0
9 changed files with 35 additions and 8 deletions

View File

@@ -1,4 +1,5 @@
from collections.abc import Mapping
from typing import override
from pydantic import TypeAdapter
@@ -11,6 +12,7 @@ class PluginDaemonError(Exception):
def __init__(self, description: str):
self.description = description
@override
def __str__(self) -> str:
# returns the class name and description
return f"req_id: {get_request_id()} {self.__class__.__name__}: {self.description}"