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
$ PATENT_CLIENT_ODP_API_KEY=q__ELIDED__b
$ echo $PATENT_CLIENT_ODP_API_KEY
q__ELIDED__b
$ python
Python 3.12.1 (main, Feb 11 2024, 16:58:58) [Clang 15.0.0 (clang-1500.1.0.2.5)] on darwin
>>> from patent_client.odp import USApplicationBiblio
>>> app = USApplicationBiblio.objects.get("16123456")
Traceback (most recent call last):
...
api = ODPApi()
^^^^^^^^
File "/Users/deg/Documents/swirl/patent_search/.venv/lib/python3.12/site-packages/patent_client/_sync/uspto/odp/api.py", line 38, in __init__
raise ValueError("ODP API key is not set")
ValueError: ODP API key is not set
>>>
The text was updated successfully, but these errors were encountered:
and see if Python is seeing the set variable, and let me know. That will help me figure out if there's something wrong about how I am reading settings values (which uses pydantic-settings under the hood), or if there is something wrong with how Python is reading your environment.
I'm trying to follow the instructions in https://patent-client.readthedocs.io/en/latest/user_guide/open_data_portal.html
It looks like there's a typo or a missing instruction (or I just misread something??)
The text was updated successfully, but these errors were encountered: