Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Lint
Browse files Browse the repository at this point in the history
kaavee315 committed Jan 15, 2025

Verified

This commit was signed with the committer’s verified signature.
AgeManning Age Manning
1 parent 6579900 commit 8583f3a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion python/composio/tools/toolset.py
Original file line number Diff line number Diff line change
@@ -1360,7 +1360,9 @@ def get_connected_account(self, id: str) -> ConnectedAccountModel:
return self.client.connected_accounts.get(connection_id=id)

def get_connected_accounts(self) -> t.List[ConnectedAccountModel]:
return self.client.connected_accounts.get(entity_ids=[self.entity_id] if self.entity_id else None)
return self.client.connected_accounts.get(
entity_ids=[self.entity_id] if self.entity_id else None
)

def get_entity(self, id: t.Optional[str] = None) -> Entity:
"""Get entity object for given ID."""

0 comments on commit 8583f3a

Please sign in to comment.