unique_sdk 0.9.16__py3-none-any.whl → 0.9.17__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.
@@ -1,6 +1,6 @@
1
1
  from typing import ClassVar, Literal, Optional, cast
2
2
 
3
- from typing_extensions import Unpack
3
+ from typing_extensions import NotRequired, Unpack
4
4
 
5
5
  from unique_sdk._api_resource import APIResource
6
6
  from unique_sdk._request_options import RequestOptions
@@ -12,13 +12,13 @@ class ShortTermMemory(APIResource["ShortTermMemory"]):
12
12
  class CreateParams(RequestOptions):
13
13
  memoryName: str
14
14
  chatId: Optional[str]
15
- messageId: Optional[str]
15
+ messageId: NotRequired[Optional[str]]
16
16
  data: Optional[str]
17
17
 
18
18
  class FindParams(RequestOptions):
19
19
  memoryName: str
20
20
  chatId: Optional[str]
21
- messageId: Optional[str]
21
+ messageId: NotRequired[Optional[str]]
22
22
 
23
23
  id: str
24
24
  memoryName: str
@@ -73,7 +73,6 @@ class ShortTermMemory(APIResource["ShortTermMemory"]):
73
73
  cls,
74
74
  user_id: str,
75
75
  company_id: str,
76
- id: str,
77
76
  **params: Unpack["ShortTermMemory.FindParams"],
78
77
  ) -> "ShortTermMemory":
79
78
  """
@@ -95,7 +94,6 @@ class ShortTermMemory(APIResource["ShortTermMemory"]):
95
94
  cls,
96
95
  user_id: str,
97
96
  company_id: str,
98
- id: str,
99
97
  **params: Unpack["ShortTermMemory.FindParams"],
100
98
  ) -> "ShortTermMemory":
101
99
  """
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: unique_sdk
3
- Version: 0.9.16
3
+ Version: 0.9.17
4
4
  Summary:
5
5
  License: MIT
6
6
  Author: Martin Fadler
@@ -899,6 +899,9 @@ All notable changes to this project will be documented in this file.
899
899
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
900
900
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
901
901
 
902
+ ## [0.9.17] - 2025-01-03
903
+ - BREAKING CHANGE!! Removed unused `id` from `ShortTermMemory` create and find methods.
904
+
902
905
  ## [0.9.16] - 2024-12-19
903
906
  - Corrected return type of `Search.create` and `Search.create_async` to `List[Search]`
904
907
  - Retry on `Connection aborted` error
@@ -23,12 +23,12 @@ unique_sdk/api_resources/_integrated.py,sha256=R5a5oSVQXkh5xyeFwor-7sfePsBdtUyh8
23
23
  unique_sdk/api_resources/_message.py,sha256=gEDIzg3METZU2k7m69meAuf0IWmZxnYOjbBKPRMwPYE,7688
24
24
  unique_sdk/api_resources/_search.py,sha256=m9gL-Cv347r6cM9MwGWgddORGHzPF3jK5dzL3plaeNI,1883
25
25
  unique_sdk/api_resources/_search_string.py,sha256=I43XqKfYwWSwhZ4r0UHx5fs1MUGbLszWHrxqBvo6Tx8,1785
26
- unique_sdk/api_resources/_short_term_memory.py,sha256=FWJ-PFR8x3o15lw1L0iKICFNdSTb1C9gs8y-CBkfdag,2815
26
+ unique_sdk/api_resources/_short_term_memory.py,sha256=vPRN-Y0WPx74E6y-A3LocGc0TxJdzT-xGL66WzZwKRg,2820
27
27
  unique_sdk/utils/chat_history.py,sha256=5UqL9hF1O9pV7skbNOlEibF5rHdYsmG3m5-YEPUowOs,3037
28
28
  unique_sdk/utils/file_io.py,sha256=tcS-5NA97AyiJPhKpWs3i0qKNFsZlttToxrvnWRDJrs,3857
29
29
  unique_sdk/utils/sources.py,sha256=wfboE-neMKa0Wuq9QzfAEFMkNLrIrmm0v-QF33sLo6k,4952
30
30
  unique_sdk/utils/token.py,sha256=AzKuAA1AwBtnvSFxGcsHLpxXr_wWE5Mj4jYBbOz2ljA,1740
31
- unique_sdk-0.9.16.dist-info/LICENSE,sha256=EJCWoHgrXVBUb47PnjeV4MFIEOR71MAdCOIgv61J-4k,1065
32
- unique_sdk-0.9.16.dist-info/METADATA,sha256=hDtWpNKR2zIBG859SxpnyK-X2oySAhyNuebkXBWELSQ,28492
33
- unique_sdk-0.9.16.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
34
- unique_sdk-0.9.16.dist-info/RECORD,,
31
+ unique_sdk-0.9.17.dist-info/LICENSE,sha256=EJCWoHgrXVBUb47PnjeV4MFIEOR71MAdCOIgv61J-4k,1065
32
+ unique_sdk-0.9.17.dist-info/METADATA,sha256=hplPuOYGU7ChHDtvKzzu3Fmh968KpFru9cvjyOLro7g,28606
33
+ unique_sdk-0.9.17.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
34
+ unique_sdk-0.9.17.dist-info/RECORD,,