fireworks[patch]: Upgrade @root_validators to be pydantic 2 compliant (#25443)

Update @root_validators to be pydantic 2 compliant
This commit is contained in:
Eugene Yurtsev
2024-08-15 12:56:48 -04:00
committed by GitHub
parent 75ae585deb
commit eb3870e9d8
3 changed files with 40 additions and 27 deletions

View File

@@ -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,
/,