lmnr 0.3.5__py3-none-any.whl → 0.3.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.
- lmnr/sdk/utils.py +3 -1
- {lmnr-0.3.5.dist-info → lmnr-0.3.6.dist-info}/METADATA +1 -1
- {lmnr-0.3.5.dist-info → lmnr-0.3.6.dist-info}/RECORD +6 -6
- {lmnr-0.3.5.dist-info → lmnr-0.3.6.dist-info}/LICENSE +0 -0
- {lmnr-0.3.5.dist-info → lmnr-0.3.6.dist-info}/WHEEL +0 -0
- {lmnr-0.3.5.dist-info → lmnr-0.3.6.dist-info}/entry_points.txt +0 -0
lmnr/sdk/utils.py
CHANGED
@@ -90,7 +90,9 @@ def get_input_from_func_args(
|
|
90
90
|
for i, k in enumerate(inspect.signature(func).parameters.keys()):
|
91
91
|
if is_method and k in ["self", "cls"]:
|
92
92
|
continue
|
93
|
-
|
93
|
+
# If param has default value, then it's not present in func args
|
94
|
+
if len(func_args) > i:
|
95
|
+
res[k] = func_args[i]
|
94
96
|
return res
|
95
97
|
|
96
98
|
|
@@ -13,11 +13,11 @@ lmnr/sdk/providers/openai.py,sha256=9X2VWz4_EqQBEA1UEww2EKdqods6IzOEmaO6dnhY-Lw,
|
|
13
13
|
lmnr/sdk/providers/utils.py,sha256=ROt82VrvezExYOxionAynD3dp6oX5JoPW6F1ayTm7q8,946
|
14
14
|
lmnr/sdk/tracing_types.py,sha256=O6sfTBRKxz8WtRy4uEr-_wkSqu58mmEa1SXXJXDGwBI,6267
|
15
15
|
lmnr/sdk/types.py,sha256=5-Ft-l35wtmn2xxE8BTqsM3nx1zD799tRv4qiOkED50,2121
|
16
|
-
lmnr/sdk/utils.py,sha256=
|
16
|
+
lmnr/sdk/utils.py,sha256=9ScSKalwZbW5wAhGN_Mn26_LZewVBkTz_OG5uQi6Og4,3401
|
17
17
|
lmnr/semantic_conventions/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
18
18
|
lmnr/semantic_conventions/gen_ai_spans.py,sha256=3s-2J5v3t5LcMKwK2DefPn56XpxN5oMEYtb9Mf9D_gA,1541
|
19
|
-
lmnr-0.3.
|
20
|
-
lmnr-0.3.
|
21
|
-
lmnr-0.3.
|
22
|
-
lmnr-0.3.
|
23
|
-
lmnr-0.3.
|
19
|
+
lmnr-0.3.6.dist-info/LICENSE,sha256=67b_wJHVV1CBaWkrKFWU1wyqTPSdzH77Ls-59631COg,10411
|
20
|
+
lmnr-0.3.6.dist-info/METADATA,sha256=OcWavyUecfR_YwlTJF003WghB4mDqbvUg0ril4arC0k,9485
|
21
|
+
lmnr-0.3.6.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
22
|
+
lmnr-0.3.6.dist-info/entry_points.txt,sha256=Qg7ZRax4k-rcQsZ26XRYQ8YFSBiyY2PNxYfq4a6PYXI,41
|
23
|
+
lmnr-0.3.6.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|