@devries-cameron20 / composio Mirror · read-only / commits / e4bcb6b95
Fork 0

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, 00:45 UTC

fix: update test assertion for direct kwargs passing

The link() method now passes callback_url=None directly instead of omitting the kwarg. The stainless client handles None by not sending the field, so the behavior is identical. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Co-authored-by: Zen Agent <zen@composio.dev>

abir committed Apr 10, 2026 at 00:11 UTC e4bcb6b95bce8b0a51d6fd08c49ad4a0206cc616
1 file changed +1 -1
python/tests/test_connected_accounts.py
+1 -1
@@ -343,7 +343,7 @@ class TestConnectedAccounts:
343 call_kwargs = mock_client.link.create.call_args.kwargs
344 assert call_kwargs["auth_config_id"] == "auth-1"
345 assert call_kwargs["user_id"] == "user-1"
346 - assert "callback_url" not in call_kwargs
346 + assert call_kwargs.get("callback_url") is None
347
348 def test_initiate_with_oauth2_tokens_returns_active_connection_request(
349 self, connected_accounts, mock_client