Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: pass auth scheme to _get_integration_for_app #882

Merged
merged 10 commits into from
Nov 22, 2024
5 changes: 4 additions & 1 deletion python/composio/tools/toolset.py
Original file line number Diff line number Diff line change
Expand Up @@ -1317,6 +1317,8 @@ def initiate_connection(
entity_id: t.Optional[str] = None,
redirect_url: t.Optional[str] = None,
connected_account_params: t.Optional[t.Dict] = None,
*,
auth_scheme: t.Optional[str] = None,
tushar-composio marked this conversation as resolved.
Show resolved Hide resolved
) -> ConnectionRequestModel:
if integration_id is None and app is None:
raise ComposioSDKError(
Expand All @@ -1329,7 +1331,8 @@ def initiate_connection(
app=t.cast(
AppType,
app,
)
),
auth_scheme=auth_scheme,
).id
except NoItemsFound as e:
raise ComposioSDKError(
Expand Down
Loading