refactor: replace bare dict with dict[str, Any] in core provider services and misc modules (#35124)

This commit is contained in:
wdeveloper16
2026-04-14 05:03:08 +02:00
committed by GitHub
parent 2f682780fa
commit eeebedcfe8
14 changed files with 26 additions and 19 deletions

View File

@@ -1,4 +1,5 @@
from abc import ABC, abstractmethod
from typing import Any
class Embeddings(ABC):
@@ -20,7 +21,7 @@ class Embeddings(ABC):
raise NotImplementedError
@abstractmethod
def embed_multimodal_query(self, multimodel_document: dict) -> list[float]:
def embed_multimodal_query(self, multimodel_document: dict[str, Any]) -> list[float]:
"""Embed multimodal query."""
raise NotImplementedError