gtalarico / pyairtable

Python Api Client for Airtable
https://pyairtable.readthedocs.io
MIT License
765 stars 138 forks source link

feat: add OR formula #148

Closed a5r0n closed 2 years ago

gtalarico commented 2 years ago

Thanks. We will need to add docs as well

a5r0n commented 2 years ago

maybe we want to add something like match_any & match_all instead of only match

gtalarico commented 2 years ago

maybe we want to add something like match_any & match_all instead of only match That's a good idea. I believe match is currently a match all.

two options ideas:

  1. e can just add a new match_any?
  2. we can modify match(dict) to def match(dict, all=True) where all=False is an OR, and all=True = AND

Either way, we can merge this as is and consider these ☝️ in a follow up issue/PR. Feel free to open issue