jeremyschulman / aio-ipfabric

Python 3.8 asycnio client for IP Fabric
Apache License 2.0
6 stars 3 forks source link

Add "exists" to parse_filter #30

Open jeremyschulman opened 3 years ago

jeremyschulman commented 3 years ago

Presently the parse_filter function supports the question mark to be the "is empty" operator, for example:

"desc ? true"

Would be the filter of "Is the description column empty". This doe not read very well. Will add a new operator "exists" so that filters can be written

"desc exists true"
"desc exists false"

Which is more readable.