mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-03 03:59:42 +00:00
community[patch]: upgrade to recent version of mypy (#21616)
This PR upgrades community to a recent version of mypy. It inserts type: ignore on all existing failures.
This commit is contained in:
@@ -28,8 +28,8 @@ class PubMedLoader(BaseLoader):
|
||||
"""
|
||||
self.query = query
|
||||
self.load_max_docs = load_max_docs
|
||||
self._client = PubMedAPIWrapper(
|
||||
top_k_results=load_max_docs,
|
||||
self._client = PubMedAPIWrapper( # type: ignore[call-arg]
|
||||
top_k_results=load_max_docs, # type: ignore[arg-type]
|
||||
)
|
||||
|
||||
def lazy_load(self) -> Iterator[Document]:
|
||||
|
Reference in New Issue
Block a user