Skip to content

Commit

Permalink
Mypy errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Jorge committed Feb 26, 2024
1 parent e8f4046 commit dac6c1c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from google.cloud import storage # type: ignore[attr-defined]

if TYPE_CHECKING:
from google.cloud import datastore # type: ignore[attr-defined, unused-ignore]
from google.cloud import datastore # type: ignore[attr-defined]


class DocumentStorage(ABC):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ def _get_default_embeddings(cls) -> "TensorflowHubEmbeddings":
# TODO: Change to vertexai embbedingss

from langchain_community.embeddings import (
TensorflowHubEmbeddings, # type: ignore[import-not-found, unused-ignore]
TensorflowHubEmbeddings, # type: ignore[import-not-found]
)

return TensorflowHubEmbeddings()
Expand Down

0 comments on commit dac6c1c

Please sign in to comment.