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
If you'd like to override the default retry strategy for all operations that support retries, you can use the `retry_config` optional parameter when initializing the SDK:
348
348
```python
349
-
from clerk import Clerk
350
349
from clerk.utils import BackoffStrategy, RetryConfig
The default server can also be overridden globally by passing a URL to the `server_url: str` optional parameter when initializing the SDK client instance. For example:
438
438
```python
439
-
fromclerkimport Clerk
439
+
fromclerk_backend_apiimport Clerk
440
440
441
441
s = Clerk(
442
442
server_url="https://api.clerk.com/v1",
@@ -459,7 +459,7 @@ This allows you to wrap the client with your own custom logic, such as adding cu
459
459
460
460
For example, you could specify a header for every request that this sdk makes as follows:
0 commit comments