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
Exception has occurred: ValidationError 1 validation error for PublicSearchDocument Value error, year 0 is out of range [type=value_error, input_value=
#166
Open
Tylersuard opened this issue
May 16, 2024
· 1 comment
Exception has occurred: ValidationError
1 validation error for PublicSearchDocument
Value error, year 0 is out of range [type=value_error, input_value={'guid': 'US-5626587-A', ...tNumberOne': '05626587'}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.7/v/value_error
File "C:\Users\tyler\OneDrive\Desktop\App Ideas and Work\AI USPTO\download_all_patents_by_number.py", line 13, in
pat = Patent.objects.get(patent_number)
pydantic_core._pydantic_core.ValidationError: 1 validation error for PublicSearchDocument
Value error, year 0 is out of range [type=value_error, input_value={'guid': 'US-5626587-A', ...tNumberOne': '05626587'}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.7/v/value_error
Here is my code:
for patent_number in patent_numbers:
pat = Patent.objects.get(patent_number)
The text was updated successfully, but these errors were encountered:
Exception has occurred: ValidationError
1 validation error for PublicSearchDocument
Value error, year 0 is out of range [type=value_error, input_value={'guid': 'US-5626587-A', ...tNumberOne': '05626587'}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.7/v/value_error
File "C:\Users\tyler\OneDrive\Desktop\App Ideas and Work\AI USPTO\download_all_patents_by_number.py", line 13, in
pat = Patent.objects.get(patent_number)
pydantic_core._pydantic_core.ValidationError: 1 validation error for PublicSearchDocument
Value error, year 0 is out of range [type=value_error, input_value={'guid': 'US-5626587-A', ...tNumberOne': '05626587'}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.7/v/value_error
Here is my code:
for patent_number in patent_numbers:
pat = Patent.objects.get(patent_number)
The text was updated successfully, but these errors were encountered: