You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Same. When I ran one of the working samples (the Fuzzy city name and state name search one), I got an AttributeError: 'Session' object has no attribute 'scalars.' I got the error when I ran it on Jupyter Notebook. However, when I ran it on normal python environment, it worked perfectly. Please let me know how to resolve this issue. Thanks!
This is the example I ran:
from uszipcode import SearchEngine
search = SearchEngine(simple_or_comprehensive=SearchEngine.SimpleOrComprehensiveArgEnum.simple)
res = search.by_city_and_state("cicago", "il", returns=999)
print(res[0])
The docs don't seem to match the codebase anymore, as almost none of the example work.
https://uszipcode.readthedocs.io/01-Usage-Example/index.html#searchengine-examples
Could you please provide working examples of how to use the package?
The text was updated successfully, but these errors were encountered: