Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
TypeScript agentic-aiagentsaiai-agentsaiagentsdeveloper-toolsfunction-callinggpt-4javascriptjsllmllmopsmcppythonremote-mcp-serverssetypescript
chore: bump composio-client to 1.32.0, use typed alias on link.create()
abir965f8756bc44
diff --git a/python/composio/core/models/connected_accounts.py b/python/composio/core/models/connected_accounts.pyindex e78cc352a..be496e35c 100644--- a/python/composio/core/models/connected_accounts.py+++ b/python/composio/core/models/connected_accounts.py@@ -493,15 +493,12 @@ class ConnectedAccounts:# Wait for the connection to be establishedconnected_account = composio.connected_accounts.wait_for_connection(connection_request.id)"""- link_kwargs: dict[str, t.Any] = {- "auth_config_id": auth_config_id,- "user_id": user_id,- "callback_url": callback_url if callback_url is not None else omit,- }- if alias is not None:- link_kwargs["alias"] = alias-- response = self._client.link.create(**link_kwargs)+ response = self._client.link.create(+ auth_config_id=auth_config_id,+ user_id=user_id,+ callback_url=callback_url if callback_url is not None else omit,+ alias=alias if alias is not None else omit,+ )return ConnectionRequest(id=response.connected_account_id,diff --git a/python/pyproject.toml b/python/pyproject.tomlindex 039bc04a7..4012ccf35 100644--- a/python/pyproject.toml+++ b/python/pyproject.toml@@ -7,7 +7,7 @@ requires-python = ">=3.10,<4"dependencies = ["pysher>=1.0.8","pydantic>=2.6.4",- "composio-client==1.31.0",+ "composio-client==1.32.0","typing-extensions>=4.0.0","openai","json-schema-to-pydantic>=0.4.8",