-
Notifications
You must be signed in to change notification settings - Fork 503
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix Pydantic v1 incompatibility #1622
base: main
Are you sure you want to change the base?
Commits on May 2, 2024
-
Relax dependency constraints to allow Pydantic 2.x
Signed-off-by: Mattt Zmuda <mattt@replicate.com>
Configuration menu - View commit details
-
Copy full SHA for 30efdcf - Browse repository at this point
Copy the full SHA 30efdcfView commit details -
Use conditional import to Pydantic v1 shim for ErrorWrapper
Signed-off-by: Mattt Zmuda <mattt@replicate.com>
Configuration menu - View commit details
-
Copy full SHA for 7155de0 - Browse repository at this point
Copy the full SHA 7155de0View commit details -
Fix warning: Condition will always evaluate to False since the types …
…PredictionRequest and None have no overlap Signed-off-by: Mattt Zmuda <mattt@replicate.com>
Configuration menu - View commit details
-
Copy full SHA for f76a158 - Browse repository at this point
Copy the full SHA f76a158View commit details -
Apply conditional pydantic import to tests
Signed-off-by: Mattt Zmuda <mattt@replicate.com>
Configuration menu - View commit details
-
Copy full SHA for 7e905f5 - Browse repository at this point
Copy the full SHA 7e905f5View commit details -
Signed-off-by: Mattt Zmuda <mattt@replicate.com>
Configuration menu - View commit details
-
Copy full SHA for 8c7e4f9 - Browse repository at this point
Copy the full SHA 8c7e4f9View commit details -
Update expected OpenAPI version
Signed-off-by: Mattt Zmuda <mattt@replicate.com>
Configuration menu - View commit details
-
Copy full SHA for 1119227 - Browse repository at this point
Copy the full SHA 1119227View commit details -
Signed-off-by: Mattt Zmuda <mattt@replicate.com>
Configuration menu - View commit details
-
Copy full SHA for a42f280 - Browse repository at this point
Copy the full SHA a42f280View commit details -
Update bare import of pydantic to use v1 shim
Signed-off-by: Mattt Zmuda <mattt@replicate.com>
Configuration menu - View commit details
-
Copy full SHA for 6806ca6 - Browse repository at this point
Copy the full SHA 6806ca6View commit details