mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-24 12:01:54 +00:00
chore(core): add mypy pydantic plugin (#32604)
This helps to remove a bunch of mypy false positives.
This commit is contained in:
committed by
GitHub
parent
b470c79f1d
commit
02d6b9106b
@@ -253,7 +253,7 @@ class ContextSet(RunnableSerializable):
|
||||
"""
|
||||
if key is not None:
|
||||
kwargs[key] = value
|
||||
super().__init__( # type: ignore[call-arg]
|
||||
super().__init__(
|
||||
keys={
|
||||
k: _coerce_set_value(v) if v is not None else None
|
||||
for k, v in kwargs.items()
|
||||
|
Reference in New Issue
Block a user