From 811c08dff7bba6902c0f815794bf39eee82b79bf Mon Sep 17 00:00:00 2001 From: Abhishek Patil <83769052+abhishekpatil4@users.noreply.github.com> Date: Sat, 24 Aug 2024 22:00:51 +0530 Subject: [PATCH] Update entity-guide.mdx Fixed code in Python OAuth2 Apps (Connect an account for an entity) --- .../foundations/components/entity/entity-guide.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/introduction/foundations/components/entity/entity-guide.mdx b/docs/introduction/foundations/components/entity/entity-guide.mdx index 357f23b0bc..7f7bdd6c3f 100644 --- a/docs/introduction/foundations/components/entity/entity-guide.mdx +++ b/docs/introduction/foundations/components/entity/entity-guide.mdx @@ -43,7 +43,7 @@ except NoItemsFound as e: ) # Poll until the connection is active - connected_account = request.wait_until_active(client=composio_client, timeout=100) + connected_account = request.wait_until_active(client=toolset.client, timeout=100) ``` @@ -324,4 +324,4 @@ await composioToolset.waitAndHandleAssistantToolCalls( -You can use the above pattern to make agents at a user level to perform tasks on their behalf. \ No newline at end of file +You can use the above pattern to make agents at a user level to perform tasks on their behalf.