unique_sdk 0.9.39__py3-none-any.whl → 0.9.41__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -112,7 +112,7 @@ class RequestsClient(HTTPClient):
112
112
  method,
113
113
  url,
114
114
  headers=headers,
115
- data=json.dumps(post_data),
115
+ data=json.dumps(post_data) if post_data is not None else None,
116
116
  timeout=self._timeout,
117
117
  verify=verify,
118
118
  **kwargs,
@@ -174,7 +174,11 @@ class HTTPXClient(HTTPClient):
174
174
  kwargs["timeout"] = self._timeout
175
175
  return [
176
176
  (method, url),
177
- {"headers": headers, "data": json.dumps(post_data) or {}, **kwargs},
177
+ {
178
+ "headers": headers,
179
+ "data": json.dumps(post_data) if post_data is not None else None,
180
+ **kwargs,
181
+ },
178
182
  ]
179
183
 
180
184
  def request(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: unique_sdk
3
- Version: 0.9.39
3
+ Version: 0.9.41
4
4
  Summary:
5
5
  License: MIT
6
6
  Author: Martin Fadler
@@ -1276,6 +1276,12 @@ All notable changes to this project will be documented in this file.
1276
1276
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
1277
1277
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
1278
1278
 
1279
+ ## [0.9.41] - 2025-07-31
1280
+ - Fix double-slash error in open ai proxy script.
1281
+
1282
+ ## [0.9.40] - 2025-07-22
1283
+ - Fixed bug where get requests send body with the request. This is not allowed by WAF policies.
1284
+
1279
1285
  ## [0.9.39] - 2025-07-18
1280
1286
  - Add script to chat in a space.
1281
1287
 
@@ -3,7 +3,7 @@ unique_sdk/_api_requestor.py,sha256=i4gCpzx8zP95sv-AhJfpQxKvWR0U-I6lclHyV55RPtg,
3
3
  unique_sdk/_api_resource.py,sha256=ytjomI-IVJwsbvdPyuZCfF-bl-Abgf66bu1D34YxCu8,6244
4
4
  unique_sdk/_api_version.py,sha256=Ku4JPdeyJtnX5eJJvRCEc1_u44UObdVrvrL1T-WwWCs,46
5
5
  unique_sdk/_error.py,sha256=j-deT0PJ-exLCwUkqORRaxaLLrGunDag9bKJSmBBKZI,3343
6
- unique_sdk/_http_client.py,sha256=CSc2gduhQ42v6G1oh4Jyg8XL7Sa3YQ7WdTpc6kAyTBI,10369
6
+ unique_sdk/_http_client.py,sha256=3ws3wmFXrf_AQ7bXtAWzXWiGu7vJRXU3k5FrNwKZPBw,10496
7
7
  unique_sdk/_list_object.py,sha256=k3fqWhD-37XHh6gZMHnuqOc1Bomq265Lmy2T7Rapxrk,3949
8
8
  unique_sdk/_object_classes.py,sha256=udAQucYaJBpgo7BAvga_JXAK92hu4Ohl2mOq1aN9J_A,270
9
9
  unique_sdk/_request_options.py,sha256=oHh2AKka6j9pO53Htur3Wj0VJSusEjq8zkXYY179B_E,255
@@ -32,7 +32,7 @@ unique_sdk/utils/chat_in_space.py,sha256=kQA43P9XZ6Kdf05JZiLhVJ5ejVtrgzZSb8osyNH
32
32
  unique_sdk/utils/file_io.py,sha256=YY8B7VJcTLOPmCXByiOfNerXGlAtjCC5EVNmAbQJ3dQ,4306
33
33
  unique_sdk/utils/sources.py,sha256=wfboE-neMKa0Wuq9QzfAEFMkNLrIrmm0v-QF33sLo6k,4952
34
34
  unique_sdk/utils/token.py,sha256=AzKuAA1AwBtnvSFxGcsHLpxXr_wWE5Mj4jYBbOz2ljA,1740
35
- unique_sdk-0.9.39.dist-info/LICENSE,sha256=EJCWoHgrXVBUb47PnjeV4MFIEOR71MAdCOIgv61J-4k,1065
36
- unique_sdk-0.9.39.dist-info/METADATA,sha256=THF3YM9qYZJtgBJkgXI9s5ujnLFoaEYI5zCtPGSSL70,42083
37
- unique_sdk-0.9.39.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
38
- unique_sdk-0.9.39.dist-info/RECORD,,
35
+ unique_sdk-0.9.41.dist-info/LICENSE,sha256=EJCWoHgrXVBUb47PnjeV4MFIEOR71MAdCOIgv61J-4k,1065
36
+ unique_sdk-0.9.41.dist-info/METADATA,sha256=8J_euAc4TB8g-_DiNQze6uEYQGUis7UBdZbrMwe0GaI,42281
37
+ unique_sdk-0.9.41.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
38
+ unique_sdk-0.9.41.dist-info/RECORD,,