Skip to content

Commit e979d1b

Browse files
committed
docs: add section links to migration checklist
1 parent c0d4a38 commit e979d1b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

UPGRADING.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@ dependencies = [
3131

3232
## Quick migration checklist
3333

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)
3939

4040
## Client initialization and authentication
4141

0 commit comments

Comments
 (0)