def __init__(self, requiredquery, optionalquery, boost=1.0):
        
        # The superclass CompoundQuery expects the subqueries to be
        # in a sequence in self.subqueries
        self.subqueries = (requiredquery, optionalquery)
        self.boost = boost
:param requiredquery: Documents matching this query are returned.
dataset/ETHPy150Open dokipen/whoosh/src/whoosh/query.py/AndMaybe.__init__