Good news!
As of July 11th, 2024, we have officially updated our Python package (tavily-python
) to support the much-requested Asynchronous Clients, with the help of our open-source community on GitHub.
What’s new?
You can now asynchronously access our API using the AsyncTavilyClient
class.
You can use it exactly as you use the synchronous client – the method names, parameters, and return types will be identical. The only difference is that the functions will be asynchronous.
What’s changing?
If you don’t want to use the asynchronous client, not much! We’ve added some better typing for method parameters and return values to make development easier for you but that’s about it!
If you do want to use the asynchronous client, you will now be able to do so, and you’ll also take advantage of our improved typing. You’ll get the best of both worlds – faster, and easier-to-write code.
Any questions?
Please note that the asynchronous client is still in Beta. If you encounter any bugs, or you simply have questions about this new feature, contact us at support@tavily.com. We’ll be happy to help you.