[feature] Add dataclass for filter #8778
Labels
area/samples
area/sdk
kind/feature
lifecycle/stale
The issue / pull request is stale, any activities remove this label.
Projects
Feature Area
/area sdk
/area samples
What feature would you like to see?
#6748 added support for filters.
The suggested workflow, is to build the predicates like this (doc).:
It would be much nicer, if the sdk provided a dataclass that would help to build these predicates. Something like this:
This could then be used like this:
As an aside, the inline doc is currently, broken:
What is the use case or pain point?
Needing to build json, particularly json that uses
'op': 1
where1
meansEquals
is not very user friendly.Is there a workaround currently?
Yes.
Love this idea? Give it a 👍.
The text was updated successfully, but these errors were encountered: