You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: UPGRADING.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,11 +31,11 @@ dependencies = [
31
31
32
32
## Quick migration checklist
33
33
34
-
- Update client initialization to use `Replicate()` instead of `Client()` and `bearer_token` instead of `api_token`
35
-
- Replace prediction instance methods with client methods (e.g., `replicate.predictions.wait(id)` instead of `prediction.wait()`)
36
-
- Update async code to use `AsyncReplicate` client or context-aware module-level functions
37
-
- Add keyword arguments to all API calls
38
-
- Update exception handling to use new exception types
34
+
- Update client initialization to use `Replicate()` instead of `Client()` and `bearer_token` instead of `api_token` - [details](#client-initialization-and-authentication)
35
+
- Replace prediction instance methods with client methods (e.g., `replicate.predictions.wait(id)` instead of `prediction.wait()`) - [details](#predictions)
36
+
- Update async code to use `AsyncReplicate` client or context-aware module-level functions - [details](#async-support)
37
+
- Add keyword arguments to all API calls - [details](#models-and-versions)
38
+
- Update exception handling to use new exception types - [details](#error-handling)
0 commit comments