unique_toolkit 1.2.0__py3-none-any.whl → 1.2.1__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.
- unique_toolkit/_common/pydantic_helpers.py +5 -4
- {unique_toolkit-1.2.0.dist-info → unique_toolkit-1.2.1.dist-info}/METADATA +4 -1
- {unique_toolkit-1.2.0.dist-info → unique_toolkit-1.2.1.dist-info}/RECORD +5 -5
- {unique_toolkit-1.2.0.dist-info → unique_toolkit-1.2.1.dist-info}/LICENSE +0 -0
- {unique_toolkit-1.2.0.dist-info → unique_toolkit-1.2.1.dist-info}/WHEEL +0 -0
@@ -1,9 +1,10 @@
|
|
1
1
|
import logging
|
2
2
|
import warnings
|
3
|
-
from typing import TypeVar
|
3
|
+
from typing import TypeVar, Unpack
|
4
4
|
|
5
5
|
import humps
|
6
6
|
from pydantic import BaseModel, ConfigDict, Field, create_model
|
7
|
+
from pydantic.alias_generators import to_camel
|
7
8
|
from pydantic.fields import ComputedFieldInfo, FieldInfo
|
8
9
|
|
9
10
|
logger = logging.getLogger(__name__)
|
@@ -20,12 +21,12 @@ def model_title_generator(model: type) -> str:
|
|
20
21
|
return humps.decamelize(model.__name__).replace("_", " ").title()
|
21
22
|
|
22
23
|
|
23
|
-
def get_configuration_dict(**kwargs) -> ConfigDict:
|
24
|
+
def get_configuration_dict(**kwargs: Unpack[ConfigDict]) -> ConfigDict:
|
24
25
|
config = {
|
25
|
-
|
26
|
+
"alias_generator": to_camel,
|
26
27
|
"field_title_generator": field_title_generator,
|
27
28
|
"model_title_generator": model_title_generator,
|
28
|
-
|
29
|
+
"populate_by_name": True,
|
29
30
|
# protected_namespaces=(),
|
30
31
|
}
|
31
32
|
config.update(kwargs)
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: unique_toolkit
|
3
|
-
Version: 1.2.
|
3
|
+
Version: 1.2.1
|
4
4
|
Summary:
|
5
5
|
License: Proprietary
|
6
6
|
Author: Cedric Klinkert
|
@@ -119,6 +119,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
119
119
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
120
120
|
|
121
121
|
|
122
|
+
## [1.2.1] - 2025-09-28
|
123
|
+
- Fix bug where camel case arguments were not properly validated.
|
124
|
+
|
122
125
|
## [1.2.0] - 2025-09-24
|
123
126
|
- Add ability to display sub agent responses in the chat.
|
124
127
|
|
@@ -13,7 +13,7 @@ unique_toolkit/_common/endpoint_builder.py,sha256=WzJrJ7azUQhvQRd-vsFFoyj6omJpHi
|
|
13
13
|
unique_toolkit/_common/endpoint_requestor.py,sha256=JbbfJGLxgxLz8a3Yx1FdJvdHGbCYO8MSBd7cLg_Mtp0,5927
|
14
14
|
unique_toolkit/_common/exception.py,sha256=caQIE1btsQnpKCHqL2cgWUSbHup06enQu_Pt7uGUTTE,727
|
15
15
|
unique_toolkit/_common/feature_flags/schema.py,sha256=F1NdVJFNU8PKlS7bYzrIPeDu2LxRqHSM9pyw622a1Kk,547
|
16
|
-
unique_toolkit/_common/pydantic_helpers.py,sha256=
|
16
|
+
unique_toolkit/_common/pydantic_helpers.py,sha256=1zzg6PlzSkHqPTdX-KoBaDHmBeeG7S5PprBsyMSCEuU,4806
|
17
17
|
unique_toolkit/_common/string_utilities.py,sha256=pbsjpnz1mwGeugebHzubzmmDtlm18B8e7xJdSvLnor0,2496
|
18
18
|
unique_toolkit/_common/token/image_token_counting.py,sha256=VpFfZyY0GIH27q_Wy4YNjk2algqvbCtJyzuuROoFQPw,2189
|
19
19
|
unique_toolkit/_common/token/token_counting.py,sha256=gM4B_aUqKqEPvmStFNcvCWNMNNNNKbVaywBDxlbgIps,7121
|
@@ -132,7 +132,7 @@ unique_toolkit/short_term_memory/schemas.py,sha256=OhfcXyF6ACdwIXW45sKzjtZX_gkcJ
|
|
132
132
|
unique_toolkit/short_term_memory/service.py,sha256=5PeVBu1ZCAfyDb2HLVvlmqSbyzBBuE9sI2o9Aajqjxg,8884
|
133
133
|
unique_toolkit/smart_rules/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
134
134
|
unique_toolkit/smart_rules/compile.py,sha256=cxWjb2dxEI2HGsakKdVCkSNi7VK9mr08w5sDcFCQyWI,9553
|
135
|
-
unique_toolkit-1.2.
|
136
|
-
unique_toolkit-1.2.
|
137
|
-
unique_toolkit-1.2.
|
138
|
-
unique_toolkit-1.2.
|
135
|
+
unique_toolkit-1.2.1.dist-info/LICENSE,sha256=GlN8wHNdh53xwOPg44URnwag6TEolCjoq3YD_KrWgss,193
|
136
|
+
unique_toolkit-1.2.1.dist-info/METADATA,sha256=x5c1eRkDvdDVmjh1lzkYEVu91II0o79rZ0owyyfX8gM,33381
|
137
|
+
unique_toolkit-1.2.1.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
138
|
+
unique_toolkit-1.2.1.dist-info/RECORD,,
|
File without changes
|
File without changes
|