Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in getting started example #178

Open
geoffreyp opened this issue Sep 11, 2024 · 0 comments
Open

Error in getting started example #178

geoffreyp opened this issue Sep 11, 2024 · 0 comments

Comments

@geoffreyp
Copy link

Hello, I'm getting an error trying the example code on https://patent-client.readthedocs.io/en/latest/getting_started.html page :

from patent_client import USApplication

microsoft_pats = (USApplication.objects
                .filter(first_named_applicant='Microsoft')
                .filter(app_status='Patented Case')
                .order_by('patent_issue_date')
                .limit(10)
                )

app = microsoft_pats[0] 

print(app)

The error :

ValueError: Invalid date range filter: appStatus; When filtering using a list or tuple, must have length 2 (start, end)

@geoffreyp geoffreyp changed the title Error in getting_started.html example Error in getting started example Sep 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant