Skip to content

Allow booleans on filtering #164

@oddaspa

Description

@oddaspa

Describe the bug

query.Filter(fields={"visible": True})
{'$and': [{'name': {'$in': ['Electricity price']}}, {'labels.folder-0': 'Trondheim'}, {'visible': 'True'}]}

To Reproduce
Steps to reproduce the behavior:

import pyclarify
...

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

** System information (please complete the following information):**
OS: (e.g. Windows 10)
Python Version: (e.g. 3.8)
SDK Version: (e.g. 0.2.2)

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions