Skip to content

Return Raw response & validation fixes

Compare
Choose a tag to compare
@kayvane1 kayvane1 released this 11 Mar 22:03
· 12 commits to staging since this release
1889eb4

Fixed validation errors in pydantic models for:

  • book
  • thumbnail
  • news
  • web_search

Users can return raw if pydantic validation fails to not block them 🔥

from brave import Brave

query = "George Orwell, 1984"
num_results = 10

search_results = brave.search(q=query, raw=True)

@harishankar-gopalan fixed a compatability issue with Python 3.9 🚀