xpander-sdk 2.0.181__py3-none-any.whl → 2.0.183__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.
@@ -38,6 +38,9 @@ def json_type_to_python(json_type: str, prop_schema: dict = None):
38
38
  item_type = json_type_to_python(items.get("type"), items)
39
39
  return List[item_type]
40
40
 
41
+ if isinstance(json_type, list) and len(json_type) > 1:
42
+ json_type = next((t for t in json_type if t != "null"))
43
+
41
44
  return {
42
45
  "string": str,
43
46
  "integer": int,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: xpander-sdk
3
- Version: 2.0.181
3
+ Version: 2.0.183
4
4
  Summary: xpander.ai Backend-as-a-service for AI Agents - SDK
5
5
  Home-page: https://www.xpander.ai
6
6
  Author: xpanderAI
@@ -11,16 +11,16 @@ Classifier: Operating System :: OS Independent
11
11
  Requires-Python: >=3.9
12
12
  Description-Content-Type: text/markdown
13
13
  License-File: LICENSE
14
- Requires-Dist: python-dotenv
15
- Requires-Dist: packaging
16
- Requires-Dist: pydantic
17
- Requires-Dist: loguru
18
- Requires-Dist: httpx
19
- Requires-Dist: httpx_sse
20
- Requires-Dist: nest-asyncio
21
- Requires-Dist: strands-agents
22
- Requires-Dist: openai-agents
23
- Requires-Dist: python-toon
14
+ Requires-Dist: python-dotenv>=1.2.1
15
+ Requires-Dist: packaging>=25.0
16
+ Requires-Dist: pydantic>=2.12.5
17
+ Requires-Dist: loguru>=0.7.3
18
+ Requires-Dist: httpx>=0.28.1
19
+ Requires-Dist: httpx_sse>=0.4.3
20
+ Requires-Dist: nest-asyncio>=1.6.0
21
+ Requires-Dist: strands-agents>=1.20.0
22
+ Requires-Dist: openai-agents>=0.6.4
23
+ Requires-Dist: python-toon>=0.1.3
24
24
  Provides-Extra: agno
25
25
  Requires-Dist: agno; extra == "agno"
26
26
  Requires-Dist: sqlalchemy; extra == "agno"
@@ -77,7 +77,7 @@ xpander_sdk/modules/tools_repository/models/tool_invocation_result.py,sha256=Dho
77
77
  xpander_sdk/modules/tools_repository/sub_modules/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
78
78
  xpander_sdk/modules/tools_repository/sub_modules/tool.py,sha256=rivnznxi6CrrOWE1rukkBRmad2H-rthhrelC7ei1IXM,23617
79
79
  xpander_sdk/modules/tools_repository/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
80
- xpander_sdk/modules/tools_repository/utils/generic.py,sha256=m9FRaVGzRUj23tB52rP9K4O-nTsMSt9iwMxMcYsqfiY,1770
80
+ xpander_sdk/modules/tools_repository/utils/generic.py,sha256=ge72CWfbz6i3xoaorsDALc1DoSOBV4XQ4LgjOxzik_M,1898
81
81
  xpander_sdk/modules/tools_repository/utils/local_tools.py,sha256=zp5P8hVnRUJQb-w-2jCEMV5eUB_awmvYfY_rin5qvEw,1875
82
82
  xpander_sdk/modules/tools_repository/utils/schemas.py,sha256=EUi35h7CRrOVXV-TH-lyCpOdK5pu1uODDxvGB1JGDXY,13734
83
83
  xpander_sdk/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -87,8 +87,8 @@ xpander_sdk/utils/generic.py,sha256=XrRj2-L8c0YWpfPdDyXE-pVL-6lKF9VpyZzKHQ4wuCc,
87
87
  xpander_sdk/utils/tools.py,sha256=lyFkq2yP7DxBkyXYVlnFRwDhQCvf0fZZMDm5fBycze4,1244
88
88
  xpander_sdk/utils/agents/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
89
89
  xpander_sdk/utils/agents/compactization_agent.py,sha256=pqaf7LVSyPFaeXU62dMPY6iQ160TFga1KJ0Kgu1dIgg,14449
90
- xpander_sdk-2.0.181.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
91
- xpander_sdk-2.0.181.dist-info/METADATA,sha256=t_sSqi0SqtoylSuNshvi1pFqNeolJSeArA9wKxAK0pg,17880
92
- xpander_sdk-2.0.181.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
93
- xpander_sdk-2.0.181.dist-info/top_level.txt,sha256=UCjnxQpsMy5Zoe7lmRuVDO6DI2V_6PgRFfm4oizRbVs,12
94
- xpander_sdk-2.0.181.dist-info/RECORD,,
90
+ xpander_sdk-2.0.183.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
91
+ xpander_sdk-2.0.183.dist-info/METADATA,sha256=eCr3xnUq6G_BGxlz6Q6GWQBgnCr4VMBa8sgBVFSKoWY,17952
92
+ xpander_sdk-2.0.183.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
93
+ xpander_sdk-2.0.183.dist-info/top_level.txt,sha256=UCjnxQpsMy5Zoe7lmRuVDO6DI2V_6PgRFfm4oizRbVs,12
94
+ xpander_sdk-2.0.183.dist-info/RECORD,,