Closed bhupixb closed 3 weeks ago
Hey it worked really nicely for me. I am unable to replicate this. Would you be open to testing this again and letting me know. If yes, can run it in debug mode and share all the logs.
Sorry for the trouble.
Hi Soham, thanks for responding. EDIT: It is working after upgrading the version to 0.5.15, pls ignore below error.
I'm getting a different error now smh:
Btw I was able to make it work with different code actually, works seamlessly:) Thanks for the super easy integration provided by the composio platform.
New Working code:
from composio import ComposioToolSet, Action
import os
import logging
import json
tool_set = ComposioToolSet(api_key=os.getenv("COMPOSIO_API_KEY"))
try:
resp = tool_set.execute_action(
action=Action.GMAIL_FETCH_EMAILS,
params={"max_results": 3, "query": 'subject: "my subject"'}
)
print(json.dumps(resp))
except Exception as ex:
logging.exception(ex)
Hey guys, I am new to Composio. I was trying it out for the first time. I am trying to fetch some gmails via Python. Here's the code snippet: Version:
Apparently the code is stuck at _toolset.get because the message done is never printed.
I tried to enabled debug logs and can see that it's making thousands of calls like below(are they really needed). Am I doing something wrong?
My usecase is simply:
Please let me know if I am missing something.