cleaned code

This commit is contained in:
Yannick Stephan
2025-02-19 13:42:49 +01:00
parent 05147f4799
commit 4adb4418fd
4 changed files with 20 additions and 60 deletions

View File

@@ -277,7 +277,7 @@ class TiDBKVStorage(BaseKVStorage):
@final
@dataclass
class TiDBVectorDBStorage(BaseVectorStorage):
db: TiDB = field(default=None)
db: TiDB | None = field(default=None)
def __post_init__(self):
self._client_file_name = os.path.join(