mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-06 13:33:37 +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:
@@ -420,7 +420,7 @@ class _RedisCacheBase(BaseCache, ABC):
|
||||
)
|
||||
# In a previous life we stored the raw text directly
|
||||
# in the table, so assume it's in that format.
|
||||
generations.append(Generation(text=text))
|
||||
generations.append(Generation(text=text)) # type: ignore[arg-type]
|
||||
return generations if generations else None
|
||||
|
||||
@staticmethod
|
||||
|
Reference in New Issue
Block a user