I'm using pyairtable to fetch data from an Airtable with Python.
Both #1 and #2 work fine. I'm looking for a solution to combine the two formulas. I need one formula that would give the results matching column1 = string1 and column2 not empty.
from pyairtable import Table
from pyairtable.formulas import match
table = Table(API_KEY, BASE_ID, TABLE_ID)
#1
formula = match({"column1": "string1"})
results = table.all(formula=formula, fields=['field1'])
#2
formula = "NOT({column2}='')"
results = table.all(formula=formula, fields=['field1'])