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
*[~~searchget_server_info~~](docs/sdks/sdksearchv1/README.md#searchget_server_info) - Get server info:warning:**Deprecated**
279
279
280
280
### [wallets](docs/sdks/wallets/README.md)
281
281
@@ -331,10 +331,10 @@ By default, an API error will raise a errors.SDKError exception, which has the f
331
331
332
332
When custom error responses are specified for an operation, the SDK may also raise their associated exception. You can refer to respective *Errors* tables in SDK docs for more details on possible exception types for each operation. For example, the `create_transactions` method may raise the following exceptions:
@@ -403,10 +403,12 @@ if res.transactions_response is not None:
403
403
404
404
You can override the default server globally by passing a server index to the `server_idx: int` optional parameter when initializing the SDK client instance. The selected server will then be used as the default on the operations that use it. This table lists the indexes associated with the available servers:
405
405
406
-
| # | Server | Variables |
407
-
| - | ------ | --------- |
408
-
| 0 |`http://localhost`| None |
409
-
| 1 |`https://{organization}.{environment}.formance.cloud`|`environment` (default is `sandbox`), `organization` (default is `orgID-stackID`) |
If the selected server has variables, you may override their default values through the additional parameters made available in the SDK constructor.
410
412
411
413
#### Example
412
414
@@ -431,12 +433,6 @@ if res.get_versions_response is not None:
431
433
432
434
```
433
435
434
-
#### Variables
435
-
436
-
Some of the server options above contain variables. If you want to set the values of those variables, the following optional parameters are available when initializing the SDK client instance:
437
-
*`environment: models.ServerEnvironment`
438
-
*`organization: str`
439
-
440
436
### Override Server URL Per-Client
441
437
442
438
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:
@@ -485,9 +481,9 @@ s = sdk.SDK(client=http_client)
485
481
486
482
This SDK supports the following security scheme globally:
0 commit comments