Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
chore: bump composio-client to 1.32.0, use typed alias on link.create()
1.32.0 adds alias param to link.create() — replace dict-splat with direct kwargs. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Co-authored-by: Zen Agent <zen@composio.dev>
abir committed
Apr 10, 2026 at 01:03 UTC
965f8756bc442b0460bca9ccbf6cfc21e6c1c5e0
2 files changed
+7
-10
python/composio/core/models/connected_accounts.py
+6
-9
@@ -493,15 +493,12 @@ class ConnectedAccounts:
493
# Wait for the connection to be established
494
connected_account = composio.connected_accounts.wait_for_connection(connection_request.id)
495
"""
496
- link_kwargs: dict[str, t.Any] = {
497
- "auth_config_id": auth_config_id,
498
- "user_id": user_id,
499
- "callback_url": callback_url if callback_url is not None else omit,
500
- }
501
- if alias is not None:
502
- link_kwargs["alias"] = alias
503
-
504
- response = self._client.link.create(**link_kwargs)
496
+ response = self._client.link.create(
497
+ auth_config_id=auth_config_id,
498
+ user_id=user_id,
499
+ callback_url=callback_url if callback_url is not None else omit,
500
+ alias=alias if alias is not None else omit,
501
+ )
502
503
return ConnectionRequest(
504
id=response.connected_account_id,
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.31.0",
10
+ "composio-client==1.32.0",
11
"typing-extensions>=4.0.0",
12
"openai",
13
"json-schema-to-pydantic>=0.4.8",