Skip to content

Commit

Permalink
Fix deps (#329)
Browse files Browse the repository at this point in the history
  • Loading branch information
lkuligin authored Jun 25, 2024
1 parent 3be2c88 commit b632cb9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
from typing import Any, Dict, List, Optional, Tuple, Type, Union, cast

import numpy as np
from google.cloud.exceptions import NotFound
from langchain_community.vectorstores.utils import maximal_marginal_relevance
from langchain_core.documents import Document
from langchain_core.embeddings import Embeddings
Expand Down Expand Up @@ -169,6 +168,7 @@ def full_table_id(self) -> str:

def _validate_bq_table(self) -> Any:
from google.cloud import bigquery # type: ignore[attr-defined]
from google.cloud.exceptions import NotFound

table_ref = bigquery.TableReference.from_string(self.full_table_id)

Expand Down

0 comments on commit b632cb9

Please sign in to comment.