unique_sdk 0.9.39__tar.gz → 0.9.41__tar.gz

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.

Potentially problematic release.


This version of unique_sdk might be problematic. Click here for more details.

Files changed (39) hide show
  1. {unique_sdk-0.9.39 → unique_sdk-0.9.41}/CHANGELOG.md +6 -0
  2. {unique_sdk-0.9.39 → unique_sdk-0.9.41}/PKG-INFO +7 -1
  3. {unique_sdk-0.9.39 → unique_sdk-0.9.41}/pyproject.toml +1 -1
  4. {unique_sdk-0.9.39 → unique_sdk-0.9.41}/unique_sdk/_http_client.py +6 -2
  5. {unique_sdk-0.9.39 → unique_sdk-0.9.41}/LICENSE +0 -0
  6. {unique_sdk-0.9.39 → unique_sdk-0.9.41}/README.md +0 -0
  7. {unique_sdk-0.9.39 → unique_sdk-0.9.41}/unique_sdk/__init__.py +0 -0
  8. {unique_sdk-0.9.39 → unique_sdk-0.9.41}/unique_sdk/_api_requestor.py +0 -0
  9. {unique_sdk-0.9.39 → unique_sdk-0.9.41}/unique_sdk/_api_resource.py +0 -0
  10. {unique_sdk-0.9.39 → unique_sdk-0.9.41}/unique_sdk/_api_version.py +0 -0
  11. {unique_sdk-0.9.39 → unique_sdk-0.9.41}/unique_sdk/_error.py +0 -0
  12. {unique_sdk-0.9.39 → unique_sdk-0.9.41}/unique_sdk/_list_object.py +0 -0
  13. {unique_sdk-0.9.39 → unique_sdk-0.9.41}/unique_sdk/_object_classes.py +0 -0
  14. {unique_sdk-0.9.39 → unique_sdk-0.9.41}/unique_sdk/_request_options.py +0 -0
  15. {unique_sdk-0.9.39 → unique_sdk-0.9.41}/unique_sdk/_unique_object.py +0 -0
  16. {unique_sdk-0.9.39 → unique_sdk-0.9.41}/unique_sdk/_unique_ql.py +0 -0
  17. {unique_sdk-0.9.39 → unique_sdk-0.9.41}/unique_sdk/_unique_response.py +0 -0
  18. {unique_sdk-0.9.39 → unique_sdk-0.9.41}/unique_sdk/_util.py +0 -0
  19. {unique_sdk-0.9.39 → unique_sdk-0.9.41}/unique_sdk/_version.py +0 -0
  20. {unique_sdk-0.9.39 → unique_sdk-0.9.41}/unique_sdk/_webhook.py +0 -0
  21. {unique_sdk-0.9.39 → unique_sdk-0.9.41}/unique_sdk/api_resources/__init__.py +0 -0
  22. {unique_sdk-0.9.39 → unique_sdk-0.9.41}/unique_sdk/api_resources/_acronyms.py +0 -0
  23. {unique_sdk-0.9.39 → unique_sdk-0.9.41}/unique_sdk/api_resources/_chat_completion.py +0 -0
  24. {unique_sdk-0.9.39 → unique_sdk-0.9.41}/unique_sdk/api_resources/_content.py +0 -0
  25. {unique_sdk-0.9.39 → unique_sdk-0.9.41}/unique_sdk/api_resources/_embedding.py +0 -0
  26. {unique_sdk-0.9.39 → unique_sdk-0.9.41}/unique_sdk/api_resources/_event.py +0 -0
  27. {unique_sdk-0.9.39 → unique_sdk-0.9.41}/unique_sdk/api_resources/_folder.py +0 -0
  28. {unique_sdk-0.9.39 → unique_sdk-0.9.41}/unique_sdk/api_resources/_integrated.py +0 -0
  29. {unique_sdk-0.9.39 → unique_sdk-0.9.41}/unique_sdk/api_resources/_message.py +0 -0
  30. {unique_sdk-0.9.39 → unique_sdk-0.9.41}/unique_sdk/api_resources/_message_assessment.py +0 -0
  31. {unique_sdk-0.9.39 → unique_sdk-0.9.41}/unique_sdk/api_resources/_search.py +0 -0
  32. {unique_sdk-0.9.39 → unique_sdk-0.9.41}/unique_sdk/api_resources/_search_string.py +0 -0
  33. {unique_sdk-0.9.39 → unique_sdk-0.9.41}/unique_sdk/api_resources/_short_term_memory.py +0 -0
  34. {unique_sdk-0.9.39 → unique_sdk-0.9.41}/unique_sdk/api_resources/_space.py +0 -0
  35. {unique_sdk-0.9.39 → unique_sdk-0.9.41}/unique_sdk/utils/chat_history.py +0 -0
  36. {unique_sdk-0.9.39 → unique_sdk-0.9.41}/unique_sdk/utils/chat_in_space.py +0 -0
  37. {unique_sdk-0.9.39 → unique_sdk-0.9.41}/unique_sdk/utils/file_io.py +0 -0
  38. {unique_sdk-0.9.39 → unique_sdk-0.9.41}/unique_sdk/utils/sources.py +0 -0
  39. {unique_sdk-0.9.39 → unique_sdk-0.9.41}/unique_sdk/utils/token.py +0 -0
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [0.9.41] - 2025-07-31
9
+ - Fix double-slash error in open ai proxy script.
10
+
11
+ ## [0.9.40] - 2025-07-22
12
+ - Fixed bug where get requests send body with the request. This is not allowed by WAF policies.
13
+
8
14
  ## [0.9.39] - 2025-07-18
9
15
  - Add script to chat in a space.
10
16
 
@@ -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
 
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "unique_sdk"
3
- version = "0.9.39"
3
+ version = "0.9.41"
4
4
  description = ""
5
5
  authors = [
6
6
  "Martin Fadler <martin.fadler@unique.ch>",
@@ -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(
File without changes
File without changes