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
*[Available Resources and Operations](#available-resources-and-operations)
32
33
*[Retries](#retries)
33
34
*[Error Handling](#error-handling)
@@ -242,6 +243,24 @@ print("Payments are the same" if payment1.id == payment2.id else "Payments are d
242
243
```
243
244
<!-- End Idempotency Key -->
244
245
246
+
<!-- Start Add Custom User-Agent Header -->
247
+
248
+
## Add Custom User-Agent Header
249
+
The SDK allows you to append a custom suffix to the `User-Agent` header for all requests. This can be used to identify
250
+
your application or integration when interacting with the API, making it easier to track usage or debug requests. The suffix is automatically added to the default User-Agent string generated by the SDK. You can add it when creating the
251
+
client:
252
+
253
+
```py
254
+
client = ClientSDK(
255
+
security= Security(
256
+
api_key= os.getenv("CLIENT_API_KEY", "test_..."),
257
+
),
258
+
custom_user_agent="insert something here"
259
+
)
260
+
```
261
+
262
+
<!-- End Add Custom User-Agent Header -->
263
+
245
264
<!-- Start Available Resources and Operations [operations] -->
246
265
## Available Resources and Operations
247
266
@@ -723,4 +742,4 @@ looking for the latest version.
723
742
While we value open-source contributions to this SDK, this library is generated programmatically. Any manual changes added to internal files will be overwritten on the next generation.
724
743
We look forward to hearing your feedback. Feel free to open a PR or an issue with a proof of concept and we'll do our best to include it in a future release.
725
744
726
-
### SDK Created by [Speakeasy](https://www.speakeasy.com/?utm_source=mollie-api-python-beta&utm_campaign=python)
745
+
### SDK Created by [Speakeasy](https://www.speakeasy.com/?utm_source=mollie-api-python-beta&utm_campaign=python)
0 commit comments