Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
Mirrored from https://github.com/Camo67/composio.git
Synced Nov 22, 23:15 UTC
chore: bump composio_client to latest
angrybayblade committed
Jun 20, 2025 at 19:40 UTC
cdc6f6ac5d775c761cf79362a84625b0f22c8ad0
5 files changed
+11
-27
python/composio/core/models/connected_accounts.py
+4
-21
@@ -227,25 +227,8 @@ class AuthScheme:
227
),
228
}
229
230
- def snowflake(
231
- self, options: connected_account_create_params.ConnectionStateUnionMember9Val
232
- ) -> connected_account_create_params.ConnectionState:
233
- """
234
- Create a new connected account using Snowflake.
235
- """
236
- return {
237
- "auth_scheme": "SNOWFLAKE",
238
- "val": t.cast(
239
- connected_account_create_params.ConnectionStateUnionMember9Val,
240
- {
241
- **options,
242
- "status": "ACTIVE",
243
- },
244
- ),
245
- }
246
-
230
def billcom_auth(
248
- self, options: connected_account_create_params.ConnectionStateUnionMember10Val
231
+ self, options: connected_account_create_params.ConnectionStateUnionMember9Val
232
) -> connected_account_create_params.ConnectionState:
233
"""
234
Create a new connected account using Bill.com auth.
@@ -253,7 +236,7 @@ class AuthScheme:
236
return {
237
"auth_scheme": "BILLCOM_AUTH",
238
"val": t.cast(
256
- connected_account_create_params.ConnectionStateUnionMember10Val,
239
+ connected_account_create_params.ConnectionStateUnionMember9Val,
240
{
241
**options,
242
"status": "ACTIVE",
@@ -262,7 +245,7 @@ class AuthScheme:
245
}
246
247
def basic_with_jwt(
265
- self, options: connected_account_create_params.ConnectionStateUnionMember11Val
248
+ self, options: connected_account_create_params.ConnectionStateUnionMember10Val
249
) -> connected_account_create_params.ConnectionState:
250
"""
251
Create a new connected account using basic auth with JWT.
@@ -270,7 +253,7 @@ class AuthScheme:
253
return {
254
"auth_scheme": "BASIC_WITH_JWT",
255
"val": t.cast(
273
- connected_account_create_params.ConnectionStateUnionMember11Val,
256
+ connected_account_create_params.ConnectionStateUnionMember10Val,
257
{
258
**options,
259
"status": "ACTIVE",
python/composio/core/models/custom_tools.py
+1
@@ -88,6 +88,7 @@ class CustomTool:
88
output_parameters={},
89
available_versions=[],
90
version="1.0.0",
91
+ scopes=[],
92
slug=self.slug,
93
toolkit=tool_list_response.ItemToolkit(
94
logo="",
python/composio/core/models/triggers.py
+1
-1
@@ -732,7 +732,7 @@ class Triggers(Resource):
732
)
733
734
def _get_connected_account_for_user(self, trigger: str, user_id: str) -> str:
735
- toolkit = self.get_type(slug=trigger).toolkit.name
735
+ toolkit = self.get_type(slug=trigger).toolkit.slug
736
connected_accounts = self._client.connected_accounts.list(
737
toolkit_slugs=[toolkit]
738
)
python/pyproject.toml
+1
-1
@@ -7,7 +7,7 @@ requires-python = ">=3.10,<4"
7
dependencies = [
8
"pysher>=1.0.8",
9
"pydantic>=2.6.4",
10
- "composio-client==1.3.0",
10
+ "composio-client==1.4.0",
11
"typing-extensions>=4.0.0",
12
"openai",
13
]
uv.lock
+4
-4
@@ -467,7 +467,7 @@ dev = [
467
468
[package.metadata]
469
requires-dist = [
470
- { name = "composio-client", specifier = "==1.3.0" },
470
+ { name = "composio-client", specifier = "==1.4.0" },
471
{ name = "openai" },
472
{ name = "pydantic", specifier = ">=2.6.4" },
473
{ name = "pysher", specifier = ">=1.0.8" },
@@ -504,7 +504,7 @@ requires-dist = [
504
505
[[package]]
506
name = "composio-client"
507
-version = "1.3.0"
507
+version = "1.4.0"
508
source = { registry = "https://pypi.org/simple" }
509
dependencies = [
510
{ name = "anyio" },
@@ -514,9 +514,9 @@ dependencies = [
514
{ name = "sniffio" },
515
{ name = "typing-extensions" },
516
]
517
-sdist = { url = "https://files.pythonhosted.org/packages/df/4f/410ae47457c65923a378da46caabf7187dcf301838e1fedc70b21cc63180/composio_client-1.3.0.tar.gz", hash = "sha256:5006ae7988201c32d4595500077b8405b7c6ea5b795c28ca5973df568b1c767e", size = 167940 }
517
+sdist = { url = "https://files.pythonhosted.org/packages/35/35/c6bb5ce5f6b602efad86e4777a16ded43c51d9cb7f653fc93ab03e26741b/composio_client-1.4.0.tar.gz", hash = "sha256:c5524a02d16dabcdb71ae77e5fc00016dd4a447e36c9cb9ef7ff3ae8e87686d6", size = 167300 }
518
wheels = [
519
- { url = "https://files.pythonhosted.org/packages/f4/12/aa419b5d0bdbdc68413d730f8c722187d97bd0cf534ccf5280e1194f37aa/composio_client-1.3.0-py3-none-any.whl", hash = "sha256:ff01ce07fa1a89f2bd5448858e101f1c75b4142d27f618961437f6a60a8c16e5", size = 210297 },
519
+ { url = "https://files.pythonhosted.org/packages/65/01/83484fbce94e5d67c13920911dc8c7a41413ef0d7baded21ec40185000aa/composio_client-1.4.0-py3-none-any.whl", hash = "sha256:81e8132b35cc9a675f4196b9126f02721d03f56125bcad9a74b720a01bfd40d0", size = 207495 },
520
]
521
522
[[package]]