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
fix: add api_token parameter to copy() methods for consistency
The copy() methods in Replicate and AsyncReplicate were missing the
api_token parameter that was added to __init__ in commit 8c05e64. This
was causing test failures since the test suite expects the copy() method
signature to match the constructor signature.
This commit adds the api_token parameter to both copy() methods with the
same handling logic as in __init__:
- Accepts both api_token and bearer_token
- Raises error if both are provided
- Maps api_token to bearer_token internally
0 commit comments