unique_toolkit 1.42.5__py3-none-any.whl → 1.42.6__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.
@@ -190,9 +190,7 @@ def count_tokens(text: str, encoding_model="cl100k_base") -> int:
190
190
  def map_content_chunk(
191
191
  content_id: str, content_key: str, content_chunk: dict, metadata: dict | None
192
192
  ):
193
- content_metadata = (
194
- ContentMetadata(**metadata) if metadata else None if metadata else None
195
- )
193
+ content_metadata = ContentMetadata(**metadata) if metadata else None
196
194
  return ContentChunk(
197
195
  id=content_id,
198
196
  key=content_key,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: unique_toolkit
3
- Version: 1.42.5
3
+ Version: 1.42.6
4
4
  Summary:
5
5
  License: Proprietary
6
6
  Author: Cedric Klinkert
@@ -124,6 +124,9 @@ All notable changes to this project will be documented in this file.
124
124
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
125
125
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
126
126
 
127
+ ## [1.42.6] - 2026-01-07
128
+ - Remove double redundant condition
129
+
127
130
  ## [1.42.5] - 2026-01-07
128
131
  - Add Mapping of metadata to the `search_content` calls
129
132
  - Remove additional indentation by the markdown to docx converter
@@ -167,7 +167,7 @@ unique_toolkit/content/functions.py,sha256=cYbILIufzX1btSPiEAglH4cd2eI5MfHoZmaUB
167
167
  unique_toolkit/content/schemas.py,sha256=uuS1UsuWK6eC7cP4dTC1q3DJ39xl6zenN2zL4ghFmzk,6424
168
168
  unique_toolkit/content/service.py,sha256=hwycIbxtLn1p0IgNQMVIxN2NUhy_4AVsTfatytGi-gY,24919
169
169
  unique_toolkit/content/smart_rules.py,sha256=z2gHToPrdyj3HqO8Uu-JE5G2ClvJPuhR2XERmmkgoug,9668
170
- unique_toolkit/content/utils.py,sha256=w2VKLoe88cRsJ9Os-6Grj7d_0X3Hdl5Ic4yyBd1QW3k,8271
170
+ unique_toolkit/content/utils.py,sha256=YACNDupAb0SjqYyM5Uxxflr0SjSgIS1lt67JAlBGWpE,8233
171
171
  unique_toolkit/data_extraction/README.md,sha256=5KxzqPHC29wxBiWJ-87wBQisSgRBkuSnPTb38pGH1wA,3138
172
172
  unique_toolkit/data_extraction/__init__.py,sha256=y6uSp8PAqgPZMoBgXWp1Ep0gsk9MD-NV8qn2QpOY-xY,330
173
173
  unique_toolkit/data_extraction/augmented/__init__.py,sha256=_8G35ZgOPvcOR3a_2xvJDowoQ3ivQ9ehhJvbk1xzFs0,131
@@ -215,7 +215,7 @@ unique_toolkit/short_term_memory/service.py,sha256=5PeVBu1ZCAfyDb2HLVvlmqSbyzBBu
215
215
  unique_toolkit/smart_rules/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
216
216
  unique_toolkit/smart_rules/compile.py,sha256=Ozhh70qCn2yOzRWr9d8WmJeTo7AQurwd3tStgBMPFLA,1246
217
217
  unique_toolkit/test_utilities/events.py,sha256=_mwV2bs5iLjxS1ynDCjaIq-gjjKhXYCK-iy3dRfvO3g,6410
218
- unique_toolkit-1.42.5.dist-info/LICENSE,sha256=GlN8wHNdh53xwOPg44URnwag6TEolCjoq3YD_KrWgss,193
219
- unique_toolkit-1.42.5.dist-info/METADATA,sha256=t1naUZXw9AHM32vCOwkWodfBH-OoR3eLI8CjnW6DOCY,47048
220
- unique_toolkit-1.42.5.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
221
- unique_toolkit-1.42.5.dist-info/RECORD,,
218
+ unique_toolkit-1.42.6.dist-info/LICENSE,sha256=GlN8wHNdh53xwOPg44URnwag6TEolCjoq3YD_KrWgss,193
219
+ unique_toolkit-1.42.6.dist-info/METADATA,sha256=L5ofz1-_UcYYhfwluusOfhB0zZpESH70ZPYarndVMJQ,47110
220
+ unique_toolkit-1.42.6.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
221
+ unique_toolkit-1.42.6.dist-info/RECORD,,