Skip to content

feat: python class for available filters #1322

@Dr-Blank

Description

@Dr-Blank

What is your feature request?

search(title=None, libtype=None, **kwargs)
and other methods which rely on kwargs for search would be able to accept this filter object
will add editor support for filters

Are there any workarounds?

currently one needs to refer documentation for this and pass in the filters as kwargs, which do not give proper developer support

Code Snippets

No response

Additional Context

somehting like this

filter = Filter().genre("foo").year(le=2020)
# or 
filter = Filter(genre="foo", year=2020)

lib.search(filter=filter)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions