Skip to content

Error in getting started example #178

@geoffreyp

Description

@geoffreyp

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions