mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-08 22:42:05 +00:00
fireworks[patch]: Upgrade @root_validators to be pydantic 2 compliant (#25443)
Update @root_validators to be pydantic 2 compliant
This commit is contained in:
@@ -296,6 +296,10 @@ def from_env(
|
||||
) -> Callable[[], Optional[str]]: ...
|
||||
|
||||
|
||||
@overload
|
||||
def from_env(key: str, /, *, default: None) -> Callable[[], Optional[str]]: ...
|
||||
|
||||
|
||||
def from_env(
|
||||
key: str,
|
||||
/,
|
||||
|
Reference in New Issue
Block a user